Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

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