mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
update ConnectionInfo.remote() doc string
This commit is contained in:
parent
4f3e97fff8
commit
5169d306ae
@ -7,7 +7,7 @@
|
|||||||
* Add support for serde_json::Value to be passed as argument to ResponseBuilder.body()
|
* Add support for serde_json::Value to be passed as argument to ResponseBuilder.body()
|
||||||
|
|
||||||
|
|
||||||
## [0.2.11] - 2019-09-11
|
## [0.2.10] - 2019-09-11
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
@ -155,9 +155,9 @@ impl ConnectionInfo {
|
|||||||
&self.host
|
&self.host
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Remote IP of client initiated HTTP request.
|
/// Remote socket addr of client initiated HTTP request.
|
||||||
///
|
///
|
||||||
/// The IP is resolved through the following headers, in this order:
|
/// The addr is resolved through the following headers, in this order:
|
||||||
///
|
///
|
||||||
/// - Forwarded
|
/// - Forwarded
|
||||||
/// - X-Forwarded-For
|
/// - X-Forwarded-For
|
||||||
|
Loading…
Reference in New Issue
Block a user