Skip to main content

send_pooled

Function send_pooled 

Source
pub fn send_pooled<A, E, R, F>(build: F) -> Effect<A, E, R>
where A: From<Response> + 'static, E: From<Error> + 'static, R: NeedsReqwestPool + 'static, F: FnOnce(&Client) -> RequestBuilder + Send + 'static,
Expand description

send with a client checked out from ReqwestPoolKey; returns to the pool when the inner scope closes.