sttp.client3.httpclient.zio
Members list
Type members
Classlikes
Attributes
- Companion:
- object
- Graph
- Supertypes
- class HttpClientAsyncBackend[Task, ZioStreams, ZioStreams & WebSockets, Publisher[List[ByteBuffer]], BinaryStream]class HttpClientBackend[Task, ZioStreams, ZioStreams & WebSockets, BinaryStream]trait SttpBackend[Task, ZioStreams & WebSockets]class Objecttrait Matchableclass Any
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- HttpClientZioBackend.type
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- SttpClient.type
Attributes
- Graph
- Supertypes
- Self type
- SttpClientStubbing.type
Types
ZIO-environment service definition, which is an SttpBackend.
ZIO-environment service definition, which is an SttpBackend.
Attributes
Value members
Concrete methods
Sends the request. Only requests for which the method & URI are specified can be sent.
Sends the request. Only requests for which the method & URI are specified can be sent.
Attributes
- Returns:
An effect resulting in a Response, containing the body, deserialized as specified by the request (see RequestT.response), if the request was successful (1xx, 2xx, 3xx response codes), or if there was a protocol-level failure (4xx, 5xx response codes). A failed effect, if an exception occurred when connecting to the target host, writing the request or reading the response. Known exceptions are converted to one of SttpClientException. Other exceptions are kept unchanged.
A variant of send which allows the effects that are part of the response handling specification (when using
websockets or resource-safe streaming) to use an R
environment.
A variant of send which allows the effects that are part of the response handling specification (when using
websockets or resource-safe streaming) to use an R
environment.