Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.664 kb
<erl module=haxe_sample>
out(A) ->
A1 = A#arg{state = {new_state, "alive and kicking"}},
yaws_rpc:handler(A1, {haxe_sample, respond}).
respond(State, {call, echo, Value} = _Request) ->
{new_state, StateVal} = State,
{array, [First, Second]} = Value,
Response =
{struct, [
{you_sent_first, First},
{btw, "Hello haXe!"},
{also, {array, ["take", "this", 4, "array"]}},
{my_state_is, StateVal}
{true, 0, null, Response}.
Jump to Line
Something went wrong with that request. Please try again.