[−][src]Function body_image_futio::fetch
pub fn fetch<B>(
rr: RequestRecord<B>,
tune: FutioTunables
) -> Result<Dialog, FutioError> where
B: Body + Send + 'static,
B::Data: Send + Unpin,
B::Error: Into<Flaw>,
Run an HTTP request to completion, returning the full Dialog
.
This function constructs a tokio Runtime
(ThreadPool),
hyper_tls::HttpsConnector
, and hyper::Client
in a simplistic form
internally, waiting with timeout, and dropping these on completion.