Skip to content

Instantly share code, notes, and snippets.

View chris-morgan's full-sized avatar

Chris Morgan chris-morgan

View GitHub Profile

Request

struct Request {
  remote_addr: SocketAddr,
  method: Method,
  uri: Uri,
  version: (uint, uint),
  cert: Option<X509Certificate>,
  headers: HeaderCollection