Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 7 lines (6 sloc) 0.164 kb
39c8d49 @jbothma update WebSockets implementation to support RFC 6455
jbothma authored
1 <erl>
2 out(A) ->
3 CallbackMod = basic_echo_callback,
4 Opts = [{origin, "http://" ++ (A#arg.headers)#headers.host}],
5 {websocket, CallbackMod, Opts}.
6 </erl>
Something went wrong with that request. Please try again.