milo-parser 0.6.0

A fast and embeddable HTTP/1.1 parser.
Documentation
#[derive(Debug)]
pub struct Context {
  pub input: String,
  pub output: String,
  pub method: String,
  pub url: String,
  pub protocol: String,
  pub version: String,
}

impl Default for Context {
  fn default() -> Self { Self::new() }
}

impl Context {
  #[allow(unused)]
  pub fn new() -> Context {
    Context {
      input: String::new(),
      output: String::new(),
      method: String::new(),
      url: String::new(),
      protocol: String::new(),
      version: String::new(),
    }
  }
}