aboutsummaryrefslogtreecommitdiffstats
path: root/src/ranch_transport.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ranch_transport.erl')
-rw-r--r--src/ranch_transport.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ranch_transport.erl b/src/ranch_transport.erl
index c968868..2344733 100644
--- a/src/ranch_transport.erl
+++ b/src/ranch_transport.erl
@@ -56,9 +56,9 @@
-callback controlling_process(socket(), pid())
-> ok | {error, closed | not_owner | atom()}.
-callback peername(socket())
- -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}.
+ -> {ok, {inet:ip_address(), inet:port_number()} | {local, binary()}} | {error, atom()}.
-callback sockname(socket())
- -> {ok, {inet:ip_address(), inet:port_number()}} | {error, atom()}.
+ -> {ok, {inet:ip_address(), inet:port_number()} | {local, binary()}} | {error, atom()}.
-callback shutdown(socket(), read | write | read_write)
-> ok | {error, atom()}.
-callback close(socket()) -> ok.