[−][src]Function body_image_futio::request_dialog
pub fn request_dialog<CN, B>(
client: &Client<CN, B>,
rr: RequestRecord<B>,
tune: FutioTunables
) -> impl Future<Output = Result<Dialog, FutioError>> + Send + 'static where
CN: Connect + Clone + Send + Sync + 'static,
B: Body + Send + 'static,
B::Data: Send,
B::Error: Into<Flaw>,
Given a suitable hyper::Client
and RequestRecord
, return a
Future
with Dialog
output.
The provided FutioTunables
governs timeout intervals (initial response
and complete body), if the response BodyImage
will be in Ram
or
FsRead
, and BlockingPolicy
.