File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,9 @@ How many times should the client try to reconnect on abnormal socket closure bef
187187The library classifies the following close events as fatal:
188188- _ All internal WebSocket fatal close codes (check ` isFatalInternalCloseCode ` in ` src/client.ts ` for exact list)_
189189- ` 4500: Internal server error `
190+ - ` 4005: Internal client error `
190191- ` 4400: Bad request `
192+ - ` 4004: Bad response `
191193- ` 4401: Unauthorized ` _ tried subscribing before connect ack_
192194- ` 4406: Subprotocol not acceptable `
193195- ` 4409: Subscriber for <id> already exists ` _ distinction is very important_
Original file line number Diff line number Diff line change @@ -330,7 +330,9 @@ export interface ClientOptions {
330330 * The library classifies the following close events as fatal:
331331 * - _All internal WebSocket fatal close codes (check `isFatalInternalCloseCode` in `src/client.ts` for exact list)_
332332 * - `4500: Internal server error`
333+ * - `4005: Internal client error`
333334 * - `4400: Bad request`
335+ * - `4004: Bad response`
334336 * - `4401: Unauthorized` _tried subscribing before connect ack_
335337 * - `4406: Subprotocol not acceptable`
336338 * - `4409: Subscriber for <id> already exists` _distinction is very important_
You can’t perform that action at this time.
0 commit comments