What's the target type to which the response body should be read. Needs to be specified upfront so that the response is always consumed and hence there are no requirements on client code to consume it. An exception to this are streaming responses, which need to fully consumed by the client if such a response type is requested.
Request-specific tags which can be used by backends for logging, metrics, etc. Not used by default.
Encodes the given parameters as form data.
Encodes the given parameters as form data.
If content type is not yet specified, will be set to
application/x-www-form-urlencoded
.
If content length is not yet specified, will be set to the length of the number of bytes in the url-encoded parameter string.
Encodes the given parameters as form data using utf-8
.
Encodes the given parameters as form data using utf-8
.
If content type is not yet specified, will be set to
application/x-www-form-urlencoded
.
If content length is not yet specified, will be set to the length of the number of bytes in the url-encoded parameter string.
Encodes the given parameters as form data.
Encodes the given parameters as form data.
If content type is not yet specified, will be set to
application/x-www-form-urlencoded
.
If content length is not yet specified, will be set to the length of the number of bytes in the url-encoded parameter string.
Encodes the given parameters as form data using utf-8
.
Encodes the given parameters as form data using utf-8
.
If content type is not yet specified, will be set to
application/x-www-form-urlencoded
.
If content length is not yet specified, will be set to the length of the number of bytes in the url-encoded parameter string.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content length is not yet specified, will be set to the length of the given array.
If content type is not yet specified, will be set to text/plain
with the given encoding.
If content type is not yet specified, will be set to text/plain
with the given encoding.
If content length is not yet specified, will be set to the number of bytes in the string using the given encoding.
Uses the utf-8
encoding.
Uses the utf-8
encoding.
If content type is not yet specified, will be set to text/plain
with utf-8
encoding.
If content length is not yet specified, will be set to the number of
bytes in the string using the utf-8
encoding.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content length is not yet specified, will be set to the length of the given file.
If content type is not yet specified, will be set to
application/octet-stream
.
If content type is not yet specified, will be set to
application/octet-stream
.
If content length is not yet specified, will be set to the length of the given file.
Specifies the target type to which the response body should be read.
Specifies the target type to which the response body should be read.
Note that this replaces any previous specifications, which also includes
any previous mapResponse
invocations.
What's the target type to which the response body should be read.
What's the target type to which the response body should be read. Needs to be specified upfront so that the response is always consumed and hence there are no requirements on client code to consume it. An exception to this are streaming responses, which need to fully consumed by the client if such a response type is requested.
Request-specific tags which can be used by backends for logging, metrics, etc.
Request-specific tags which can be used by backends for logging, metrics, etc. Not used by default.
Specifies if the method & uri are specified. By default can be either: *
Empty
, which is a type constructor which always resolves toNone
. This type of request is aliased toPartialRequest
: there's no method and uri specified, and the request cannot be sent. *Id
, which is an identity type constructor. This type of request is aliased toRequest
: the method and uri are specified, and the request can be sent.What's the target type to which the response body should be read. Needs to be specified upfront so that the response is always consumed and hence there are no requirements on client code to consume it. An exception to this are streaming responses, which need to fully consumed by the client if such a response type is requested.
Request-specific tags which can be used by backends for logging, metrics, etc. Not used by default.