diff options
Diffstat (limited to 'src/ranch_tcp.erl')
-rw-r--r-- | src/ranch_tcp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_tcp.erl b/src/ranch_tcp.erl index 3c918ea..d68972d 100644 --- a/src/ranch_tcp.erl +++ b/src/ranch_tcp.erl @@ -99,7 +99,7 @@ recv(Socket, Length, Timeout) -> %% @doc Send data on a socket. %% @see gen_tcp:send/2 --spec send(inet:socket(), iolist()) -> ok | {error, atom()}. +-spec send(inet:socket(), iodata()) -> ok | {error, atom()}. send(Socket, Packet) -> gen_tcp:send(Socket, Packet). |