[][src]Trait nakadion::api::dispatch_http_request::DispatchHttpRequest

pub trait DispatchHttpRequest {
    fn dispatch(&self, req: Request<Bytes>) -> ResponseFuture;
}

A common trait for dispatching Http requests.

This trait is used to enable pluggable HTTP clients

Required methods

fn dispatch(&self, req: Request<Bytes>) -> ResponseFuture

Loading content...

Implementors

impl DispatchHttpRequest for ReqwestDispatchHttpRequest[src]

Loading content...