This contains http specifics, and doesn't seem like it is tcp specific
#[non_exhaustive]
#[derive(Debug, Clone)]
/// A request to establish a Tcp Connection.
///
/// This can be used in case you operate on a layer below
/// an application layer such as Http.
pub struct Request {
pub authority: HostWithPort,
pub protocol: Option<Protocol>,
pub http_version: Option<Version>,
pub extensions: Extensions,
}
We should either remove this type of Request from rama-tcp, or refactor it in such a way that it is tcp specific.