Function body_image_futio::request_dialog
source · pub fn request_dialog<CN, B>(
client: &Client<CN, B>,
rr: RequestRecord<B>,
tune: &Tunables
) -> impl Future<Item = Dialog, Error = Flare> + Sendwhere
CN: Connect + Sync + 'static,
B: Payload + Send,
Expand description
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
.