mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Move cowboy_protocol:onresponse_fun() to cowboy:onresponse_fun()
This commit is contained in:
parent
488dcc967b
commit
1d413ea51b
3 changed files with 7 additions and 7 deletions
|
@ -174,7 +174,7 @@
|
|||
|
||||
%% Functions.
|
||||
onresponse = undefined :: undefined | already_called
|
||||
| cowboy_protocol:onresponse_fun()
|
||||
| cowboy:onresponse_fun()
|
||||
}).
|
||||
|
||||
-opaque req() :: #http_req{}.
|
||||
|
@ -194,7 +194,7 @@
|
|||
binary(), binary(), binary(),
|
||||
cowboy:http_version(), cowboy:http_headers(), binary(),
|
||||
inet:port_number() | undefined, binary(), boolean(), boolean(),
|
||||
undefined | cowboy_protocol:onresponse_fun())
|
||||
undefined | cowboy:onresponse_fun())
|
||||
-> req().
|
||||
new(Socket, Transport, Peer, Method, Path, Query,
|
||||
Version, Headers, Host, Port, Buffer, CanKeepalive,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue