Skip to main content

create_request_with_headers

Function create_request_with_headers 

Source
pub fn create_request_with_headers(
    method: Method,
    path: &str,
    headers: HashMap<String, String>,
    body: Option<Bytes>,
) -> Request
Expand description

Create a test request with headers