moonjrpc

Playground

Everything here is the library compiled to JavaScript, running in this page.

Two peers

Blue is a call, green a reply, violet a notice, red an error. Open a message to see its JSON.
editoragent

    Send a request

    The table here has sum, subtract, echo, no, boom and the notice log. Edit the text, or start from one of these.

    Methods::body answers

    Framing

    What goes on the wire for one message. The length counts bytes, so try some Chinese.

    lines
    content_length