Struct http_header::Header [−][src]
pub struct Header { /* fields omitted */ }
This crate has been renamed to http_tiny; you’re using an outdated version
Expand description
A HTTP header
Implementations
👎 Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
This crate has been renamed to http_tiny; you’re using an outdated version
Creates a new HTTP/1.1 header
👎 Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
This crate has been renamed to http_tiny; you’re using an outdated version
The start line
👎 Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
This crate has been renamed to http_tiny; you’re using an outdated version
The start line
👎 Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
This crate has been renamed to http_tiny; you’re using an outdated version
The header fields
👎 Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
This crate has been renamed to http_tiny; you’re using an outdated version
The header fields
👎 Deprecated: This crate has been renamed to http_tiny; you’re using an outdated version
This crate has been renamed to http_tiny; you’re using an outdated version
Loads a HTTP header from bytes
and returns the remaining bytes
Warning:
This function will read forever until there is either a \r\n\r\n
or an EOF. To prevent DOS-attacks, it is
strongly recommended to wrap the source
into an IoLimiter<T>
to limit the amount of data
that will be read.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Header
impl UnwindSafe for Header
Blanket Implementations
Mutably borrows from an owned value. Read more