[][src]Trait twitter_stream::service::HttpService

pub trait HttpService<B>: Service<Request<B>> + Sealed<B> {
    type ResponseBody: Body;
}

An HTTP client (like hyper::Client).

This is just an alias for tower_service::Service introduced to reduce the number of type parameters in Builder::listen_with_client.

Associated Types

type ResponseBody: Body

Body of the responses given by the service.

Loading content...

Implementors

impl<S: ?Sized, ReqB, ResB> HttpService<ReqB> for S where
    S: Service<Request<ReqB>, Response = Response<ResB>>,
    ResB: Body
[src]

type ResponseBody = ResB

Loading content...