Gigahorse

abstract
class Gigahorse extends GigahorseSupport
Companion
object
class GigahorseSupport
class Object
trait Matchable
class Any
object Gigahorse

Value members

Concrete methods

def http(config: Config): ReactiveHttpClient

Returns HttpClient. You must call close when you're done.

Returns HttpClient. You must call close when you're done.

def withHttp[A](config: Config)(f: ReactiveHttpClient => A): A
def withHttp[A](f: ReactiveHttpClient => A): A

Inherited methods

def asFile(file: File): StreamResponse => Future[File]

Function from StreamResponse to Future[File]

Function from StreamResponse to Future[File]

Inherited from
GigahorseSupport
def config: Config

Returns default configuration using application.conf if present.

Returns default configuration using application.conf if present.

Inherited from
GigahorseSupport
def url(url: String): Request

Generates a request.

Generates a request.

Value Params
url

The base URL to make HTTP requests to.

Returns

Request

Inherited from
GigahorseSupport

Inherited fields

lazy
val asByteStream: StreamResponse => Stream[ByteBuffer]

Function from StreamResponse to Stream[ByteBuffer]

Function from StreamResponse to Stream[ByteBuffer]

Inherited from
GigahorseSupport
lazy
val asEither: FutureLifter[FullResponse]

Lifts Future[FullResponse] result to Future[Either[Throwable, Reponse]]

Lifts Future[FullResponse] result to Future[Either[Throwable, Reponse]]

Inherited from
GigahorseSupport
lazy
val asString: FullResponse => String

Function from FullResponse to String

Function from FullResponse to String

Inherited from
GigahorseSupport
lazy
val asStringStream: StreamResponse => Stream[String]

Function from StreamResponse to Stream[String]

Function from StreamResponse to Stream[String]

Inherited from
GigahorseSupport
val utf8: Charset

UTF-8.

UTF-8.

Inherited from
GigahorseSupport