sttp.client4.impl.zio
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Uses the ReadableStream
interface from the Streams API.
Uses the ReadableStream
interface from the Streams API.
Streams are behind a flag on Firefox.
Note that no browsers support a stream request body so it is converted into an in memory array first.
Attributes
- See also
- Companion
- object
- Supertypes
-
trait WebSocketStreamBackend[Task, ZioStreams]trait StreamBackend[Task, ZioStreams]class AbstractFetchBackend[Task, ZioStreams]trait WebSocketBackend[Task]trait Backend[Task]trait GenericBackend[Task, ZioStreams & WebSockets]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FetchZioBackend.type
Attributes
- Supertypes
-
trait MonadAsyncError[[_] =>> RIO[R, _$1]]trait MonadError[[_] =>> RIO[R, _$1]]class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZioServerSentEvents.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ZioWebSockets.type
Types
Type alias to be used as the sttp ZIO service (mainly in ZIO environment).
Type alias to be used as the sttp ZIO service (mainly in ZIO environment).
Attributes
Value members
Concrete methods
Sends the given request.
Sends the given request.
The response body is deserialized as specified by this request (see Request.response).
Known exceptions are converted by backends to one of SttpClientException. Other exceptions are kept unchanged.
Attributes
- Returns
-
An effect, containing a Response, with the body handled as specified by this request (see Request.response). Or a failed effect, if an exception occurred when connecting to the target host, writing the request or reading the response.
Sends the given request, where the request body or the response body is handled as a stream.
Sends the given request, where the request body or the response body is handled as a stream.
The response body is deserialized as specified by this request (see Request.response).
Known exceptions are converted by backends to one of SttpClientException. Other exceptions are kept unchanged.
Attributes
- Returns
-
An effect, containing a Response, with the body handled as specified by this request (see Request.response). Or a failed effect, if an exception occurred when connecting to the target host, writing the request or reading the response.
Sends the given WebSocket request.
Sends the given WebSocket request.
The response body is deserialized as specified by this request (see Request.response).
Known exceptions are converted by backends to one of SttpClientException. Other exceptions are kept unchanged.
Attributes
- Returns
-
An effect, containing a Response, with the body handled as specified by this request (see Request.response). Or a failed effect, if an exception occurred when connecting to the target host, writing the request or reading the response.
Sends the given WebSocket request, where the request body or the response WebSocket is handled as a stream.
Sends the given WebSocket request, where the request body or the response WebSocket is handled as a stream.
The response body is deserialized as specified by this request (see Request.response).
Known exceptions are converted by backends to one of SttpClientException. Other exceptions are kept unchanged.
Attributes
- Returns
-
An effect, containing a Response, with the body handled as specified by this request (see Request.response). Or a failed effect, if an exception occurred when connecting to the target host, writing the request or reading the response.
A variant of send which allows the effects that are part of the response handling specification (when using 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 resource-safe streaming) to use an R
environment.
Attributes
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.