Trait http_header::HeaderFieldsExt [−][src]
pub trait HeaderFieldsExt {
fn get_contentlength(&self) -> Result<Option<u64>>;
fn set_contentlength(&mut self, length: u64);
}
Expand description
Some convenience extensions for HeaderFields
Required methods
fn get_contentlength(&self) -> Result<Option<u64>>
fn get_contentlength(&self) -> Result<Option<u64>>
Gets the content length
fn set_contentlength(&mut self, length: u64)
fn set_contentlength(&mut self, length: u64)
Sets the content length