mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Merge branch 'fix_peer_spec' of git://github.com/aahoughton/cowboy
This commit is contained in:
commit
e0c8e9ad5c
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ method(Req) ->
|
|||
version(Req) ->
|
||||
Req#http_req.version.
|
||||
|
||||
-spec peer(req()) -> {inet:ip_address(), inet:port_number()}.
|
||||
-spec peer(req()) -> {inet:ip_address(), inet:port_number()} | undefined.
|
||||
peer(Req) ->
|
||||
Req#http_req.peer.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue