HttpConnection
interface HttpConnection
A HTTP connection.
Methods
connection
pub fn connection(self): Connection
Returns the underlying connection.
connection
pub fn connection(self): Connection
Returns the underlying connection.
Returns the underlying connection.
is_negotiated_h2
pub fn is_negotiated_h2(self): bool
Returns true
if the connection is negotiated as HTTP/2
.
is_negotiated_h2
pub fn is_negotiated_h2(self): bool
Returns true
if the connection is negotiated as HTTP/2
.
Returns true
if the connection is negotiated as HTTP/2
.