1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
//! Http types for the fire http crate. //! //! At the moment these types are more suitable //! for server implementations than for clients. //! //! ## Features //! //! ### hyper_body //! Adds support for the `hyper::Body` type in `Body`. //! //! ### json //! Adds json serialization and deserialization support for //! the `Body` type and in combination with the feature `encdec` //! also to the `HeaderValues`. //! //! ### timeout //! Adds the `BodyTimeout` type, allowing to set a timeout //! for reading from the body. //! //! ### encdec //! Adds percent encoding and decoding support for the //! `HeaderValues` type. //! pub mod header; pub mod bytes_stream; pub mod body; pub use body::Body; pub mod request; pub use request::Request; pub mod response; pub use response::Response;