Type Alias mas_http::HttpService

source ·
pub type HttpService = BoxCloneSyncService<Request<Bytes>, Response<Bytes>, BoxError>;
Expand description

Type for the underlying HTTP service.

Allows implementors to use different libraries that provide a Service that implements Clone + Send + Sync.

Aliased Type§

struct HttpService(/* private fields */);

Trait Implementations§

source§

impl Debug for HttpService

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more