Type Alias 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§

pub 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