Skip to content

Commit 026063d

Browse files
authored
Updates
1 parent c44bee3 commit 026063d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ A main goal of this project is to have the JSON-RPC server and client support __
88

99
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.).
1010

11+
12+
## Transports
13+
1114
Both the server and client support two __transports, HTTP and WebSocket__, and allow more through plugin extensibility.
1215

1316
__Any WebSocket implementation may be used__, handling of the HTTP server and WebSocket is external to these JSONRPC classes.
@@ -16,6 +19,9 @@ For WebSocket client support, it expects W3C compatible WebSocket class instance
1619

1720
On the Node.js side it is tested to work with [websockets/ws](https://github.com/websockets/ws). Other `WebSocketServer` implementations are supported if API compatible with `websockets/ws` (constructor and events), or made compatible through an adapter.
1821

22+
23+
## Events and plugins
24+
1925
Plugins are allowed to replace the JSON-RPC protocol altogether, extend the protocol or wrap it.
2026

2127
__Plugins for the server or the client may also be custom middle layers__, for example: authentication, authorization, validation, routing, backward compatibility translation, advanced error logging, automatic retries, caching, etc.

0 commit comments

Comments
 (0)