mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Rename the type http_version/0 to cowboy_http:version/0
This commit is contained in:
parent
314483a0b6
commit
8622dff906
4 changed files with 6 additions and 6 deletions
|
@ -61,7 +61,7 @@ method(Req) ->
|
|||
{Req#http_req.method, Req}.
|
||||
|
||||
%% @doc Return the HTTP version used for the request.
|
||||
-spec version(#http_req{}) -> {http_version(), #http_req{}}.
|
||||
-spec version(#http_req{}) -> {cowboy_http:version(), #http_req{}}.
|
||||
version(Req) ->
|
||||
{Req#http_req.version, Req}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue