diff options
Diffstat (limited to 'src/ranch_transport.erl')
-rw-r--r-- | src/ranch_transport.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ranch_transport.erl b/src/ranch_transport.erl index 5fd6242..23d9d5c 100644 --- a/src/ranch_transport.erl +++ b/src/ranch_transport.erl @@ -66,6 +66,7 @@ -callback shutdown(socket(), read | write | read_write) -> ok | {error, atom()}. -callback close(socket()) -> ok. +-callback cleanup(ranch:transport_opts(any())) -> ok. %% A fallback for transports that don't have a native sendfile implementation. %% Note that the ordering of arguments is different from file:sendfile/5 and |