Gigahorse

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

Value members

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 http(config: Config): ReactiveHttpClient

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

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

Inherited from
Gigahorse
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
def withHttp[A](f: ReactiveHttpClient => A): A
Inherited from
Gigahorse
def withHttp[A](config: Config)(f: ReactiveHttpClient => A): A
Inherited from
Gigahorse

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