Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.164 kb
<erl>
out(A) ->
CallbackMod = basic_echo_callback,
Opts = [{origin, "http://" ++ (A#arg.headers)#headers.host}],
{websocket, CallbackMod, Opts}.
</erl>
Jump to Line
Something went wrong with that request. Please try again.