[][src]Trait sqslisten::DispatchSignedRequest

pub trait DispatchSignedRequest where
    <Self::Future as Future>::Item == HttpResponse,
    <Self::Future as Future>::Error == HttpDispatchError
{ type Future: 'static + Future; fn dispatch(
        &self,
        request: SignedRequest,
        timeout: Option<Duration>
    ) -> Self::Future; }

Trait for implementing HTTP Request/Response

Associated Types

type Future: 'static + Future

The future response value.

Loading content...

Required methods

fn dispatch(
    &self,
    request: SignedRequest,
    timeout: Option<Duration>
) -> Self::Future

Dispatch Request, and then return a Response

Loading content...

Implementations on Foreign Types

impl<C> DispatchSignedRequest for HttpClient<C> where
    C: Connect + 'static,
    <C as Connect>::Future: 'static, 
[src]

type Future = HttpClientFuture

impl<D> DispatchSignedRequest for Arc<D> where
    D: DispatchSignedRequest
[src]

type Future = <D as DispatchSignedRequest>::Future

impl<D> DispatchSignedRequest for Rc<D> where
    D: DispatchSignedRequest
[src]

type Future = <D as DispatchSignedRequest>::Future

Loading content...

Implementors

Loading content...