File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 49
49
- [ websocket.terminate()] ( #websocketterminate )
50
50
- [ websocket.url] ( #websocketurl )
51
51
- [ createWebSocketStream(websocket[ , options] )] ( #createwebsocketstreamwebsocket-options )
52
- - [ WS Error Codes ] ( #ws- error-codes )
52
+ - [ Error codes ] ( #error-codes )
53
53
- [ WS_ERR_EXPECTED_FIN] ( #ws_err_expected_fin )
54
54
- [ WS_ERR_EXPECTED_MASK] ( #ws_err_expected_mask )
55
55
- [ WS_ERR_INVALID_CLOSE_CODE] ( #ws_err_invalid_close_code )
@@ -353,7 +353,7 @@ been closed.
353
353
- ` error ` {Error}
354
354
355
355
Emitted when an error occurs. Errors may have a ` .code ` property, matching one
356
- of the string values defined below under [ WS Error Codes ] ( #ws- error-codes ) .
356
+ of the string values defined below under [ Error codes ] ( #error-codes ) .
357
357
358
358
### Event: 'message'
359
359
@@ -587,7 +587,7 @@ The URL of the WebSocket server. Server clients don't have this attribute.
587
587
Returns a ` Duplex ` stream that allows to use the Node.js streams API on top of a
588
588
given ` WebSocket ` .
589
589
590
- ## WS Error Codes
590
+ ## Error codes
591
591
592
592
Errors emitted by the websocket may have a ` .code ` property, describing the
593
593
specific type of error that has occurred:
You can’t perform that action at this time.
0 commit comments