AsyncHttpClientBackend

sttp.client3.asynchttpclient.AsyncHttpClientBackend
See theAsyncHttpClientBackend companion object
abstract class AsyncHttpClientBackend[F[_], S <: Streams[S], P](asyncHttpClient: AsyncHttpClient, monad: MonadAsyncError[F], closeClient: Boolean, customizeRequest: BoundRequestBuilder => BoundRequestBuilder) extends SttpBackend[F, P]

Attributes

Companion:
object
Graph
Supertypes
trait SttpBackend[F, P]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type PE = P & Effect[F]

Value members

Concrete methods

override def close(): F[Unit]

Attributes

Definition Classes
SttpBackend
override def responseMonad: MonadError[F]

A monad instance for the effect type used when returning responses. Allows writing wrapper backends, which map/flatMap over the return value of send.

A monad instance for the effect type used when returning responses. Allows writing wrapper backends, which map/flatMap over the return value of send.

Attributes

Definition Classes
SttpBackend
override def send[T, R >: PE](r: Request[T, R]): F[Response[T]]

Attributes

R

The capabilities required by the request. This must be a subset of the the capabilities supported by the backend (which always includes Effect[F]).

Definition Classes
SttpBackend

Abstract fields

val streams: Streams[S]