HttpClientZioBackend

sttp.client3.httpclient.zio.HttpClientZioBackend
See theHttpClientZioBackend companion object
class HttpClientZioBackend extends HttpClientAsyncBackend[Task, ZioStreams, ZioWebSocketsStreams, Publisher[List[ByteBuffer]], BinaryStream]

Attributes

Companion
object
Graph
Supertypes
class HttpClientAsyncBackend[Task, ZioStreams, ZioWebSocketsStreams, Publisher[List[ByteBuffer]], BinaryStream]
class HttpClientBackend[Task, ZioStreams, ZioWebSocketsStreams, BinaryStream]
trait SttpBackend[Task, ZioWebSocketsStreams]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type PE = ZioWebSocketsStreams & Effect[Task]

Attributes

Inherited from:
HttpClientBackend

Value members

Inherited methods

override def close(): Task[Unit]

Attributes

Definition Classes
HttpClientBackend -> SttpBackend
Inherited from:
HttpClientBackend
override def responseMonad: MonadError[Task]

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]): Task[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
HttpClientAsyncBackend -> SttpBackend
Inherited from:
HttpClientAsyncBackend

Concrete fields

override val streams: ZioStreams