pub fn http_create_conn_resource<S, A>(
state: &mut OpState,
io: S,
addr: A,
scheme: &'static str
) -> Result<ResourceId, AnyError>where
S: AsyncRead + AsyncWrite + Unpin + Send + 'static,
A: Into<HttpSocketAddr>,
Expand description

Creates a new HttpConn resource which uses io as its transport.