View Source cowmachine_websocket_upgrade (cowmachine v1.13.1)
Summary
Functions
Upgrade the request to a websocket request
Functions
-spec upgrade(Handler, Context) -> Result when Handler :: atom(), Context :: cowmachine_req:context(), Result :: {ok, cowboy_req:req(), cowboy_middleware:env()}.
Upgrade the request to a websocket request