Trait static_http_cache::reqwest_mock::HttpResponse [] [src]

pub trait HttpResponse: Read + Debug where
    Self: Sized
{ fn headers(&self) -> &Headers;
fn status(&self) -> StatusCode;
fn error_for_status(self) -> Result<Self, Box<Error>>; }

Represents the result of sending an HTTP request.

Modelled after reqwest::Response.

Required Methods

Obtain access to the headers of the response.

Obtain a copy of the response's status.

Return an error if the response's status is in the range 400-599.

Implementations on Foreign Types

impl HttpResponse for Response
[src]

[src]

[src]

[src]

Implementors