1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-18 01:43:58 +01: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