Skip to main content

HttpService

Type Alias HttpService 

Source
pub type HttpService = BoxCloneSyncService<Request<Bytes>, Response<Bytes>, Box<dyn Error + Send + Sync>>;
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 */);