response_raw_bytes

Function response_raw_bytes 

Source
pub async fn response_raw_bytes(
    request: Request<Body>,
) -> Result<(Headers, Vec<u8>)>
Expand description

Loads the given request, parses the headers and response for potential errors given by Twitter, and returns the headers and raw bytes returned from the response.