On Sat, Dec 22, 2012 at 1:54 PM, Arif <arif@riseup.net> wrote:
Hi,

I can't figure out which Pid to use in yaws_api:websocket_send (Pid,
{Type, Data}).

Is it documented anywhere? Does any example exist of its use?

See:

* http://yaws.hyber.org/websockets.yaws 
* Chapter 14 of http://yaws.hyber.org/yaws.pdf
* the basic sample websocket application: https://github.com/klacke/yaws/blob/master/examples/src/basic_echo_callback.erl

Any further questions, just post them here.

--steve