Skip to content

Move or refactor Request in rama-tcp/src/client/request.rs #751

@soundofspace

Description

@soundofspace

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.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions