Function body_image::client::request_dialog[][src]

pub fn request_dialog<CN>(
    client: &Client<CN, Body>,
    rr: RequestRecord,
    tune: &Tunables
) -> impl Future<Item = Dialog, Error = Flare> + Send where
    CN: Connect + Sync + 'static, 

Given a suitable 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.