HttpClientZioBackend

sttp.client3.httpclient.zio.HttpClientZioBackend
See theHttpClientZioBackend companion object
class HttpClientZioBackend extends HttpClientAsyncBackend[Task, ZioStreams, ZioStreams & WebSockets, BinaryStream]

Attributes

Companion:
object
Graph
Supertypes
class HttpClientAsyncBackend[Task, ZioStreams, ZioStreams & WebSockets, BinaryStream]
class HttpClientBackend[Task, ZioStreams, ZioStreams & WebSockets, BinaryStream]
trait SttpBackend[Task, ZioStreams & WebSockets]
class Object
trait Matchable
class Any

Members list

Concise view

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
HttpClientBackend -> SttpBackend
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
HttpClientAsyncBackend -> SttpBackend
Inherited from:
HttpClientAsyncBackend
override def send[T, R >: PE](request: 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
HttpClientAsyncBackend -> SttpBackend
Inherited from:
HttpClientAsyncBackend

Concrete fields

override val streams: ZioStreams