1
0
Fork 0
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:
Nikolay Kim 2018-02-27 23:30:26 -08:00
parent 7591592279
commit 8994732227
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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