HttpClientFutureBackend

sttp.client3.HttpClientFutureBackend
See theHttpClientFutureBackend companion object
class HttpClientFutureBackend extends HttpClientAsyncBackend[Future, Nothing, WebSockets, InputStream, InputStream]

Attributes

Companion
object
Graph
Supertypes
class HttpClientAsyncBackend[Future, Nothing, WebSockets, InputStream, InputStream]
class HttpClientBackend[Future, Nothing, WebSockets, InputStream]
trait SttpBackend[Future, WebSockets]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type PE = P & Effect[F]

Attributes

Inherited from:
HttpClientBackend

Value members

Inherited methods

override def close(): F[Unit]

Attributes

Definition Classes
Inherited from:
HttpClientBackend
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
Inherited from:
HttpClientAsyncBackend
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]).

Attributes

Definition Classes
Inherited from:
HttpClientAsyncBackend

Concrete fields

override val streams: NoStreams