diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/ranch_transport.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manual/ranch_transport.md b/manual/ranch_transport.md index 291b0e4..7ae3e31 100644 --- a/manual/ranch_transport.md +++ b/manual/ranch_transport.md @@ -167,6 +167,14 @@ Callbacks > > This is mainly useful for switching to active or passive mode. +### shutdown(CSocket, How) -> ok | {error, atom()} + +> Types: +> * CSocket = any() +> * How = read | write | read_write +> +> Immediately close the socket in one or two directions. + ### sockname(CSocket) -> {ok, {IP, Port}} | {error, atom()} > Types: |