mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Fix stop_listener/1 spec
This commit is contained in:
parent
903594bb87
commit
b72c420d58
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ start_spdy(Ref, NbAcceptors, TransOpts, ProtoOpts)
|
|||
ranch_ssl, TransOpts2, cowboy_spdy, ProtoOpts).
|
||||
|
||||
%% @doc Stop a listener.
|
||||
-spec stop_listener(ranch:ref()) -> ok.
|
||||
-spec stop_listener(ranch:ref()) -> ok | {error, not_found}.
|
||||
stop_listener(Ref) ->
|
||||
ranch:stop_listener(Ref).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue