[99s-extend] cowboy_websocket_handler

Loïc Hoguin essen at ninenines.eu
Wed Apr 22 23:18:29 CEST 2015


Hello,

On 04/22/2015 11:56 PM, Samir Sow wrote:
> I would like to learn more about the cowboy_xxxx_handler for instance the cowboy_websocket_handler  :
> -  is it an OTP gen_ instance ?
> - how/where the websocket_handle() is called ?
> - how websocket_info() relates to the Transport:send() operation and where/how this latter function is called?
>
> I  could not find the cowboy_websocket_handler behavior in the src dir. I guess i’ve missed something.
> The code is clean but difficult to decipher by a erlang padawan like me.

Presumably you are looking in master. cowboy_websocket does that in 
master now. cowboy_websocket_handler is in Cowboy 1.0.

-- 
Loïc Hoguin
http://ninenines.eu


More information about the Extend mailing list