Function thruster::testing::request [−][src]
pub async fn request<T: Context<Response = Response> + Clone + Send + Sync, S: 'static + Send>(
app: &App<Request, T, S>,
method: &str,
route: &str,
headers: &[(&str, &str)],
body: &str
) -> TestResponse