0
Fork 0
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:
Sina Samavati 2014-02-16 00:16:58 +03:30
parent 903594bb87
commit b72c420d58

View file

@ -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).