Skip to main content

send_with_headers

Function send_with_headers 

Source
pub async fn send_with_headers(
    router: Router,
    method: &str,
    uri: &str,
    body: &str,
    headers: &[(&str, &str)],
) -> TestResponse
Expand description

Send a request with extra headers.