diff options
-rw-r--r-- | json-rpc-shell.adoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/json-rpc-shell.adoc b/json-rpc-shell.adoc index e5db693..e8525ad 100644 --- a/json-rpc-shell.adoc +++ b/json-rpc-shell.adoc @@ -113,8 +113,7 @@ newlines. WebSockets ~~~~~~~~~~ The JSON-RPC 2.0 specification doesn't say almost anything about underlying -transports. As far as the author is aware, he is the only person combining it -with WebSockets. The way it's implemented here is that every request is sent as +transports. The way it's implemented here is that every request is sent as a single text message. If it has an "id" field, i.e., it's not just a notification, the client waits for a message from the server in response. Should any message arrive unexpectedly, you will receive a warning. |