[−][src]Trait http_types::Server
This is supported on
unstable
only.An HTTP server.
Required methods
fn recv_req(
&self,
req: Request
) -> Pin<Box<dyn Future<Output = Result<Response>> + Send + 'static>>
&self,
req: Request
) -> Pin<Box<dyn Future<Output = Result<Response>> + Send + 'static>>
This is supported on
unstable
only.Receive an HTTP request on the server.