HttpClientAsyncBackend

abstract class HttpClientAsyncBackend[F[_], S, P, B](client: HttpClient, monad: MonadAsyncError[F], closeClient: Boolean, customizeRequest: HttpRequest => HttpRequest, customEncodingHandler: EncodingHandler[B]) extends HttpClientBackend[F, S, P, B]
class HttpClientBackend[F, S, P, B]
trait SttpBackend[F, P]
class Object
trait Matchable
class Any

Type members

Inherited types

type PE = P & Effect[F]
Inherited from:
HttpClientBackend

Value members

Abstract methods

protected def createSequencer: F[Sequencer[F]]
protected def createSimpleQueue[T]: F[SimpleQueue[F, T]]
protected def emptyBody(): B
protected def publisherToBody(p: Publisher[List[ByteBuffer]]): B

Concrete methods

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.

Definition Classes
override def send[T, R >: PE](request: Request[T, R]): F[Response[T]]
Type parameters:
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

Inherited methods

override def close(): F[Unit]
Definition Classes
Inherited from:
HttpClientBackend

Inherited fields

val streams: Streams[S]
Inherited from:
HttpClientBackend