pub struct Http1Config {
pub max_headers: usize,
pub max_request_line_length: usize,
pub max_header_length: usize,
pub preserve_header_order: bool,
pub parse_cookies: bool,
pub strict_parsing: bool,
}
Fields§
§max_headers: usize
§max_request_line_length: usize
§max_header_length: usize
§preserve_header_order: bool
§strict_parsing: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Http1Config
impl RefUnwindSafe for Http1Config
impl Send for Http1Config
impl Sync for Http1Config
impl Unpin for Http1Config
impl UnwindSafe for Http1Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more