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