diff options
Diffstat (limited to 'src/ranch_transport.erl')
-rw-r--r-- | src/ranch_transport.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_transport.erl b/src/ranch_transport.erl index 6168b35..d557594 100644 --- a/src/ranch_transport.erl +++ b/src/ranch_transport.erl @@ -60,7 +60,7 @@ -callback send(socket(), iodata()) -> ok | {error, atom()}. %% Send a file on a socket. --callback sendfile(socket(), file:name()) +-callback sendfile(socket(), file:name() | file:fd()) -> {ok, non_neg_integer()} | {error, atom()}. %% Send part of a file on a socket. |