Skip to main content

answer_from

Function answer_from 

Source
pub fn answer_from(
    url: &str,
    status: StatusCode,
    headers: &HeaderMap,
    body: &[u8],
) -> Result<Answer>
Available on crate feature client only.
Expand description

Read a Person Server’s response to a request sent to url.