diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 13:28:57 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 13:28:57 +0200 |
commit | d3dcaf109b225b1384fad5b17dbae9c4888c40ea (patch) | |
tree | 171cabef2c5aec776631d7a5d14ab687c563e38b /test/websocket_handler_init_shutdown.erl | |
parent | 9e2622becb4d1a37d410f484a14ef32101e560ab (diff) | |
download | cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.tar.gz cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.tar.bz2 cowboy-d3dcaf109b225b1384fad5b17dbae9c4888c40ea.zip |
Rename cowboy_http_req to cowboy_req
Diffstat (limited to 'test/websocket_handler_init_shutdown.erl')
-rw-r--r-- | test/websocket_handler_init_shutdown.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/websocket_handler_init_shutdown.erl b/test/websocket_handler_init_shutdown.erl index 9d6c475..371c34b 100644 --- a/test/websocket_handler_init_shutdown.erl +++ b/test/websocket_handler_init_shutdown.erl @@ -17,7 +17,7 @@ terminate(_Req, _State) -> exit(badarg). websocket_init(_TransportName, Req, _Opts) -> - {ok, Req2} = cowboy_http_req:reply(403, Req), + {ok, Req2} = cowboy_req:reply(403, Req), {shutdown, Req2}. websocket_handle(_Frame, _Req, _State) -> |