You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A main goal of this project is to have the JSONRPC server and client support __bidirectional JSON-RPC requests over a single WebSocket connection.__
6
+
A main goal of this project is to have the JSON-RPC server and client support __bidirectional JSON-RPC requests over a single WebSocket connection.__
7
7
8
-
Both the server and client support two __transports, HTTP and WebSocket__ ([websockets/ws](https://github.com/websockets/ws) compatible API), and allow more through plugin extensibility.
8
+
This library is tested in __browsers__ (at least Internet Explorer 10) and in __Node.js__ (at least 7.8, or 7.x with the --harmony flag.).
9
+
10
+
Both the server and client support two __transports, HTTP and WebSocket__, and allow more through plugin extensibility.
11
+
12
+
For WebSocket client support it expects W3C compatible WebSocket class instances (browser `WebSocket` and Node.js [websockets/ws](https://github.com/websockets/ws)`WebSocket`). On the Node.js side it is tested to work with [websockets/ws](https://github.com/websockets/ws). `WebSocketServer` implementations are supported only if 100% API compatible with `websockets/ws`, or made compatible through an adapter.
9
13
10
14
Plugins are allowed to replace the JSON-RPC protocol altogether, extend the protocol or wrap it.
console.error("webSocket.readyState: "+JSON.stringify(webSocket.readyState)+". Request was "+strMessage+". Attempted responding with "+JSON.stringify(incomingRequest.callResultToBeSerialized,undefined,"\t")+".");
296
302
}
@@ -306,7 +312,7 @@ class BidirectionalWebsocketRouter extends EventEmitter
0 commit comments