AsyncHttpClientFs2Backend

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_]](dispatcher: Dispatcher[F], options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$3`: Async[F]): F[SttpBackend[F, Fs2Streams[F] & WebSockets]]
def resource[F[_]](options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$4`: Async[F]): Resource[F, SttpBackend[F, Fs2Streams[F] & WebSockets]]

Makes sure the backend is closed after usage.

Makes sure the backend is closed after usage.

def resourceUsingConfig[F[_]](cfg: AsyncHttpClientConfig, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$6`: Async[F]): Resource[F, SttpBackend[F, Fs2Streams[F] & WebSockets]]

Makes sure the backend is closed after usage.

Makes sure the backend is closed after usage.

def resourceUsingConfigBuilder[F[_]](updateConfig: Builder => Builder, options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$8`: Async[F]): Resource[F, SttpBackend[F, Fs2Streams[F] & WebSockets]]

Makes sure the backend is closed after usage.

Makes sure the backend is closed after usage.

Value Params
updateConfig

A function which updates the default configuration (created basing on options).

def stub[F[_]](`evidence$10`: Async[F]): SttpBackendStub[F, Fs2Streams[F] & WebSockets]

Create a stub backend for testing, which uses the F response wrapper, and supports Stream[F, ByteBuffer] streaming.

Create a stub backend for testing, which uses the F response wrapper, and supports Stream[F, ByteBuffer] streaming.

See SttpBackendStub for details on how to configure stub responses.

def usingClient[F[_]](client: AsyncHttpClient, dispatcher: Dispatcher[F], customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$9`: Async[F]): SttpBackend[F, Fs2Streams[F] & WebSockets]
def usingConfig[F[_]](cfg: AsyncHttpClientConfig, dispatcher: Dispatcher[F], customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$5`: Async[F]): F[SttpBackend[F, Fs2Streams[F] & WebSockets]]
def usingConfigBuilder[F[_]](dispatcher: Dispatcher[F], updateConfig: Builder => Builder, options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int])(`evidence$7`: Async[F]): F[SttpBackend[F, Fs2Streams[F] & WebSockets]]
Value Params
updateConfig

A function which updates the default configuration (created basing on options).