Skip to content

Commit 68b3e89

Browse files
authored
Merge pull request #6 from oxygens/master
Touches.
2 parents bb24333 + 5e83941 commit 68b3e89

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jsonrpc-bidirectional",
33
"description": "Bidirectional JSONRPC over web sockets or HTTP with extensive plugin support.",
4-
"version": "2.2.0",
4+
"version": "2.4.0",
55
"scripts": {
66
"build": "node build.js",
77
"test": "node tests/main.js",

tests/Browser/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112

113113
clientOfBidirectionalWS.rpc("ImHereForTheParty", ["Lynch", "Lynch does the harlem shake", /*bDoNotAuthorizeMe*/ false])
114114
.then(function(objTeamMember){
115+
// When calling with this exact string, the node's ping() method will call back into the JSONRPC server hosted on this page (node becomes client, browser becomes server).
115116
clientOfBidirectionalWS.rpc("ping", ["Calling from html es5 client, bidirectional websocket mode."]).then(genericTestsPromiseCatch).catch(genericTestsPromiseCatch);
116117
})
117118
.catch(genericTestsPromiseCatch)

0 commit comments

Comments
 (0)