[−][src]Module solicit::http::frame
The module contains the implementation of HTTP/2 frames.
Re-exports
pub use self::builder::FrameBuilder; |
pub use self::data::DataFlag; |
pub use self::data::DataFrame; |
pub use self::headers::HeadersFlag; |
pub use self::headers::HeadersFrame; |
pub use self::rst_stream::RstStreamFrame; |
pub use self::settings::SettingsFlag; |
pub use self::settings::SettingsFrame; |
pub use self::settings::HttpSetting; |
pub use self::goaway::GoawayFrame; |
pub use self::ping::PingFrame; |
pub use self::window_update::WindowUpdateFrame; |
Modules
builder | Defines the |
data | The module contains the implementation of the |
goaway | Implements the |
headers | The module contains the implementation of the |
ping | Implements the |
rst_stream | The module contains the implementation of the |
settings | The module contains the implementation of the |
window_update | Implements the |
Structs
NoFlag | A helper struct that can be used by all frames that do not define any flags. |
RawFrame | A struct that defines the format of the raw HTTP/2 frame, i.e. the frame as it is read from the wire. |
Constants
FRAME_HEADER_LEN |
Traits
Flag | A trait that all HTTP/2 frame header flags need to implement. |
Frame | A trait that all HTTP/2 frame structs need to implement. |
FrameIR | A trait that types that are an intermediate representation of HTTP/2 frames should implement. It allows us to generically serialize any intermediate representation into an on-the-wire representation. |
Functions
pack_header | Constructs a buffer of 9 bytes that represents the given |
unpack_header | Deconstructs a |
Type Definitions
FrameHeader | An alias for the 4-tuple representing the components of each HTTP/2 frame header. |
FrameHeaderBuffer | An alias for the 9-byte buffer that each HTTP/2 frame header must be stored in. |