mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Rename the type http_status/0 to cowboy_http:status/0
This commit is contained in:
parent
67e5713b2b
commit
16d3cb76c7
4 changed files with 11 additions and 11 deletions
|
@ -403,7 +403,7 @@ ensure_response(#http_req{socket=Socket, transport=Transport,
|
|||
close.
|
||||
|
||||
%% Only send an error reply if there is no resp_sent message.
|
||||
-spec error_terminate(http_status(), #state{}) -> ok.
|
||||
-spec error_terminate(cowboy_http:status(), #state{}) -> ok.
|
||||
error_terminate(Code, State=#state{socket=Socket, transport=Transport}) ->
|
||||
receive
|
||||
{cowboy_http_req, resp_sent} -> ok
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue