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
.
pub struct HttpService();
Formats the value using the given formatter.
Read more