1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

make HttpRequest::extensions() readonly

This commit is contained in:
Nikolay Kim
2018-05-01 09:05:50 -07:00
parent 48e05a2d87
commit d9a4fadaae
5 changed files with 11 additions and 15 deletions

View File

@ -6,6 +6,9 @@
* `HttpServer::start_ssl()` and `HttpServer::start_tls()` deprecated.
Use `HttpServer::bind_ssl()` and `HttpServer::bind_tls()` instead.
* `HttpRequest::extensions()` returns read only reference to the request's Extension
`HttpRequest::extensions_mut()` returns mutable reference.
## Migration from 0.4 to 0.5