Trait httpbis::Service
[−]
[src]
pub trait Service: Send + Sync + 'static { fn start_request(&self, headers: Headers, req: HttpPartStream) -> Response; }
HTTP/2 service interface
Implemented by Client
and it is callback provided by user.
Required Methods
fn start_request(&self, headers: Headers, req: HttpPartStream) -> Response
Implementors
impl Service for ClientConnection
impl Service for ServicePaths
impl Service for Client