mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Move cowboy_http:version() to cowboy:http_version()
This commit is contained in:
parent
ba7e6c07ec
commit
c0c333e41b
4 changed files with 7 additions and 6 deletions
|
@ -20,6 +20,9 @@
|
|||
-export([stop_listener/1]).
|
||||
-export([set_env/3]).
|
||||
|
||||
-type http_version() :: 'HTTP/1.1' | 'HTTP/1.0'.
|
||||
-export_type([http_version/0]).
|
||||
|
||||
%% @doc Start an HTTP listener.
|
||||
-spec start_http(any(), non_neg_integer(), any(), any()) -> {ok, pid()}.
|
||||
start_http(Ref, NbAcceptors, TransOpts, ProtoOpts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue