sttp.client4.GenericResponseAs
See theGenericResponseAs companion object
Generic description of how the response to a GenericRequest should be handled. To set on a request, should be wrapped with an appropriate subtype of ResponseAsDelegate, depending on the R
capabilities.
Type parameters
- R
-
The backend capabilities required by the response description. This might be
Any
(no requirements), Effect (the backend must support the given effect type), Streams (the ability to send and receive streaming bodies) or WebSockets (the ability to handle websocket requests). - T
-
Target type as which the response will be read.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ResponseAsWebSocketUnsafe[F]object IgnoreResponseobject ResponseAsByteArrayclass ResponseAsFileclass ResponseAsInputStream[T]object ResponseAsInputStreamUnsafe
Members list
In this article