Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 7 lines (7 sloc) 0.192 kb
1 2 3 4 5 6 7
<erl>
out(A) ->
    CallbackMod = advanced_echo_callback,
    InitialState = {state, none, <<>>},
    Opts = [{callback, {advanced, InitialState}}],
    {websocket, CallbackMod, Opts}.
</erl>
Something went wrong with that request. Please try again.