quick
Type members
Inherited classlikes
Value members
Inherited methods
Use both l
and r
to read the response body. Neither response specifications may use streaming or web sockets.
Use both l
and r
to read the response body. Neither response specifications may use streaming or web sockets.
- Inherited from
- SttpApi
Use l
to read the response body. If the raw body value which is used by l
is replayable (a file or byte
array), also use r
to read the response body. Otherwise ignore r
(if the raw body is a stream or
a web socket).
Use l
to read the response body. If the raw body value which is used by l
is replayable (a file or byte
array), also use r
to read the response body. Otherwise ignore r
(if the raw body is a stream or
a web socket).
- Inherited from
- SttpApi
Uses the onSuccess
response specification for successful responses (2xx), and the onError
specification otherwise.
Uses the onSuccess
response specification for successful responses (2xx), and the onError
specification otherwise.
- Inherited from
- SttpApi
Use the given charset by default, unless specified otherwise in the response headers.
Use the given charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
Use the utf-8
charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
Use the given charset by default, unless specified otherwise in the response headers.
Use the given charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
Use the utf-8
charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
Use the given charset by default, unless specified otherwise in the response headers.
Use the given charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
Use the utf-8
charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
Use the utf-8
charset by default, unless specified otherwise in the response headers.
Use the utf-8
charset by default, unless specified otherwise in the response headers.
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
Uses the onSuccess
response specification for 101 responses (switching protocols), and the onError
specification otherwise.
Uses the onSuccess
response specification for 101 responses (switching protocols), and the onError
specification otherwise.
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
- Inherited from
- SttpApi
Content type will be set to application/octet-stream
, can be
overridden later using the contentType
method.
Content type will be set to application/octet-stream
, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Encodes the given parameters as form data.
Encodes the given parameters as form data.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Encodes the given parameters as form data using utf-8
.
Encodes the given parameters as form data using utf-8
.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Encodes the given parameters as form data.
Encodes the given parameters as form data.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Encodes the given parameters as form data using utf-8
.
Encodes the given parameters as form data using utf-8
.
Content type will be set to application/x-www-form-urlencoded
, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
- Inherited from
- SttpApi
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
- Inherited from
- SttpApi
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
- Inherited from
- SttpApi
Content type will be set to text/plain
with given encoding, can be
overridden later using the contentType
method.
Content type will be set to text/plain
with given encoding, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Content type will be set to text/plain
with utf-8
encoding, can be
overridden later using the contentType
method.
Content type will be set to text/plain
with utf-8
encoding, can be
overridden later using the contentType
method.
- Inherited from
- SttpApi
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
File name will be set to the name of the file.
- Inherited from
- SttpExtensions
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
File name will be set to the name of the file.
- Inherited from
- SttpExtensions
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
Content type will be set to application/octet-stream
, can be overridden
later using the contentType
method.
- Inherited from
- SttpApi
Concrete fields
Inherited fields
A starting request, with the following modification comparing to emptyRequest
: Accept-Encoding
is set to
gzip, deflate
(compression/decompression is handled automatically by the library).
A starting request, with the following modification comparing to emptyRequest
: Accept-Encoding
is set to
gzip, deflate
(compression/decompression is handled automatically by the library).
Reads the response body as an Either[String, String]
, where Left
is used if the status code is non-2xx,
and Right
otherwise.
- Inherited from
- SttpApi
An empty request with no headers.
An empty request with no headers.
Reads the response body as an Either[String, String]
, where Left
is used if the status code is non-2xx,
and Right
otherwise.
- Inherited from
- SttpApi
A starting request which always reads the response body as a string, regardless of the status code.
A starting request which always reads the response body as a string, regardless of the status code.
- Inherited from
- SttpApi