Created
September 29, 2010 19:19
-
-
Save Chouser/603361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The first two chars of each of the lines below are not actually | |
included on the wire but just indicate the direction of communication | |
for the purposes of this illustration. A leading > means data sent | |
from client to server, < is from server to client. Note these are | |
from the point of view of the REPL client. The REPL server may | |
actually see something slightly different because of intermediate | |
STOMP proxies. | |
> CONNECT | |
> login: chouser | |
> passcode:whatever | |
> | |
> ^@ | |
< CONNECTED | |
< session: 1001 | |
< | |
< ^@ | |
> SUBSCRIBE | |
> destination:/repl1/out | |
> | |
> ^@ | |
> SUBSCRIBE | |
> destination:/repl1/err | |
> | |
> ^@ | |
> SUBSCRIBE | |
> destination:/repl1/return | |
> | |
> ^@ | |
> SEND | |
> destination:/main-repl/expr | |
> id: dont-care | |
> content-length: 43 | |
> | |
> (clojure.nrepl/start-repl-session "repl1") | |
> ^@ | |
> SEND | |
> destination:/repl1/expr | |
> expr-id: foo | |
> content-length: 23 | |
> | |
> (prn :got (read-line)) | |
> ^@ | |
> SEND | |
> destination:/repl1/in | |
> content-length: 6 | |
> | |
> hello | |
> ^@ | |
< MESSAGE | |
< destination:/repl1/out | |
< message-id: 222 | |
< content-length: 13 | |
< | |
< :got "hello" | |
< ^@ | |
< MESSAGE | |
< destination:/repl1/return | |
< message-id: 223 | |
> expr-id: foo | |
< ns: user | |
< content-length: 4 | |
< | |
< nil | |
< ^@ | |
> DISCONNECT | |
> | |
> ^@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment