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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ cli.connect();
206
206
-`pingIntervalMs` {Number} - Milliseconds between WebSocket pings to connected clients. Defaults to `30000`.
207
207
-`respondWithDetailedErrors` {Boolean} - Specifies whether to send detailed errors (including stack trace) to remote party upon an error being thrown by a handler. Defaults to `false`.
208
208
-`callConcurrency` {Number} - The number of concurrent in-flight outbound calls permitted at any one time. Additional calls are queued. (There is no limit on inbound calls.) Defaults to `1`.
209
-
-`strictMode` {Boolean} - Enable strict validation of calls & responses. Defaults to `false`. (See [Strict Validation](#strictvalidation) to understand how this works.)
209
+
-`strictMode` {Boolean} - Enable strict validation of calls & responses. Defaults to `false`. (See [Strict Validation](#strict-validation) to understand how this works.)
210
210
-`strictModeValidators` {Array<Validator>} - Optional additional validators to be used in conjunction with `strictMode`. (See [Strict Validation](#adding-additional-validation-schemas) to understand how this works.)
211
211
-`maxBadMessages` {Number} - The maximum number of [non-conforming RPC messages](#event-rpcerror) which can be tolerated by the server before the client is automatically closed. Defaults to `Infinity`.
@@ -326,12 +326,12 @@ Returns a `Promise` which resolves when the server has completed closing.
326
326
-`endpoint` {String} - The RPC server's endpoint (a websocket URL). **Required**.
327
327
-`identity` {String} - The RPC client's identity. Will be automatically encoded. **Required**.
328
328
-`protocols` {Array<String>} - Array of subprotocols supported by this client. Defaults to `[]`.
329
-
-`password` {String} - Optional password to use in HTTP Basic auth. (The username will always be the identity).
329
+
-`password` {String} - Optional password to use in [HTTP Basic auth](#http-basic-auth). (The username will always be the identity).
330
330
-`headers` {Object} - Additional HTTP headers to send along with the websocket upgrade request. Defaults to `{}`.
331
331
-`query` {Object|String} - An optional query string or object to append as the query string of the connection URL. Defaults to `''`.
332
332
-`callTimeoutMs` {Number} - Milliseconds to wait before unanswered outbound calls are rejected automatically. Defaults to `60000`.
333
333
-`pingIntervalMs` {Number} - Milliseconds between WebSocket pings. Defaults to `30000`.
334
-
-`strictMode` {Boolean} - Enable strict validation of calls & responses. Defaults to `false`. (See [Strict Validation](#strictvalidation) to understand how this works.)
334
+
-`strictMode` {Boolean} - Enable strict validation of calls & responses. Defaults to `false`. (See [Strict Validation](#strict-validation) to understand how this works.)
335
335
-`strictModeValidators` {Array<Validator>} - Optional additional validators to be used in conjunction with `strictMode`. (See [Strict Validation](#adding-additional-validation-schemas) to understand how this works.)
336
336
-`respondWithDetailedErrors` {Boolean} - Specifies whether to send detailed errors (including stack trace) to remote party upon an error being thrown by a handler. Defaults to `false`.
337
337
-`callConcurrency` {Number} - The number of concurrent in-flight outbound calls permitted at any one time. Additional calls are queued. There is no concurrency limit imposed on inbound calls. Defaults to `1`.
0 commit comments