sttp.client3.asynchttpclient.fs2.AsyncHttpClientFs2Backend
See theAsyncHttpClientFs2Backend companion class
object AsyncHttpClientFs2Backend
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
def apply[F[_] : Async](dispatcher: Dispatcher[F], options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): F[SttpBackend[F, Fs2Streams[F] & WebSockets]]
def resource[F[_] : Async](options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): Resource[F, SttpBackend[F, Fs2Streams[F] & WebSockets]]
Makes sure the backend is closed after usage.
Makes sure the backend is closed after usage.
Attributes
def resourceUsingConfig[F[_] : Async](cfg: AsyncHttpClientConfig, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): Resource[F, SttpBackend[F, Fs2Streams[F] & WebSockets]]
Makes sure the backend is closed after usage.
Makes sure the backend is closed after usage.
Attributes
def resourceUsingConfigBuilder[F[_] : Async](updateConfig: Builder => Builder, options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): Resource[F, SttpBackend[F, Fs2Streams[F] & WebSockets]]
Makes sure the backend is closed after usage.
Makes sure the backend is closed after usage.
Value parameters
- updateConfig
-
A function which updates the default configuration (created basing on
options
).
Attributes
def usingClient[F[_] : Async](client: AsyncHttpClient, dispatcher: Dispatcher[F], customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): SttpBackend[F, Fs2Streams[F] & WebSockets]
def usingConfig[F[_] : Async](cfg: AsyncHttpClientConfig, dispatcher: Dispatcher[F], customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): F[SttpBackend[F, Fs2Streams[F] & WebSockets]]
def usingConfigBuilder[F[_] : Async](dispatcher: Dispatcher[F], updateConfig: Builder => Builder, options: SttpBackendOptions, customizeRequest: BoundRequestBuilder => BoundRequestBuilder, webSocketBufferCapacity: Option[Int]): F[SttpBackend[F, Fs2Streams[F] & WebSockets]]
Value parameters
- updateConfig
-
A function which updates the default configuration (created basing on
options
).
Attributes
In this article