Trait http_header::HeaderFieldsExt [−][src]
pub trait HeaderFieldsExt {
fn get_contentlength(&self) -> Result<Option<u64>>;
fn set_contentlength(&mut self, length: u64);
}
👎 Deprecated:
This crate has been renamed to http_tiny; you’re using an outdated version
Expand description
Some convenience extensions for HeaderFields
Required methods
fn get_contentlength(&self) -> Result<Option<u64>>
fn get_contentlength(&self) -> Result<Option<u64>>
👎 Deprecated:
This crate has been renamed to http_tiny; you’re using an outdated version
Gets the content length
fn set_contentlength(&mut self, length: u64)
fn set_contentlength(&mut self, length: u64)
👎 Deprecated:
This crate has been renamed to http_tiny; you’re using an outdated version
Sets the content length