pub trait ServerRequest {
    fn body(&self) -> &[u8]Notable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8];
    fn header(&self, key: &str) -> Option<String>;

    fn body_json<'a, T: Deserialize<'a>>(&'a self) -> Result<T> { ... }
}

Required Methods

Provided Methods

Implementors