pub struct ClientResponse(_, _);
Get the HTTP version of this response.
Get the status from the server.
Create HttpResponseBuilder
from ClientResponse
It is useful for proxy response. This implementation
copies all responses's headers and status.
Type of message payload stream
Get the headers from the response.
[−]
Read the request content type. If request does not contain Content-Type header, empty str get returned. Read more
[−]
[−]
Convert the request content type to a known mime type.
[−]
Check if request has chunked transfer encoding
[−]
[−]
Parse application/x-www-form-urlencoded
encoded request's body. Return UrlEncoded
future. Form can be deserialized to any type that implements Deserialize
trait from serde. Read more
[−]
Parse application/json
encoded body. Return JsonBody<T>
future. It resolves to a T
value. Read more
[−]
Return stream to http payload processes as multipart. Read more
[−]
[+]