mirror of
https://github.com/actix/actix-web.git
synced 2024-12-23 08:36:34 +00:00
doc strings
This commit is contained in:
parent
7591592279
commit
8994732227
2 changed files with 4 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## 0.4.0 (2018-02-..)
|
## 0.4.0 (2018-02-28)
|
||||||
|
|
||||||
* Actix 0.5 compatibility
|
* Actix 0.5 compatibility
|
||||||
|
|
||||||
* Fix request json loader
|
* Fix request json/urlencoded loaders
|
||||||
|
|
||||||
* Simplify HttpServer type definition
|
* Simplify HttpServer type definition
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,10 @@ use error::{ParseError, ContentTypeError,
|
||||||
HttpRangeError, PayloadError, UrlencodedError};
|
HttpRangeError, PayloadError, UrlencodedError};
|
||||||
|
|
||||||
|
|
||||||
|
/// Trait that implements general purpose operations on http messages
|
||||||
pub trait HttpMessage {
|
pub trait HttpMessage {
|
||||||
|
|
||||||
/// Read the Message Headers.
|
/// Read the message headers.
|
||||||
fn headers(&self) -> &HeaderMap;
|
fn headers(&self) -> &HeaderMap;
|
||||||
|
|
||||||
/// Read the request content type. If request does not contain
|
/// Read the request content type. If request does not contain
|
||||||
|
|
Loading…
Reference in a new issue