call_test_server

Function call_test_server 

Source
pub async fn call_test_server(
    server: &TestServer,
    request: Request<Body>,
) -> TestResponse
Expand description

Execute an HTTP request against an Axum TestServer by rehydrating it into the server’s own axum_test::TestRequest builder.