Skip to content

Commit 88ce83a

Browse files
author
ionut.stan
committed
Clarification.
1 parent baca54b commit 88ce83a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)