File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3178,8 +3178,8 @@ The [WebSocket] class represents websocket connections in the page.
3178
3178
<!-- GEN:toc -->
3179
3179
- [ event: 'close'] ( #event-close-2 )
3180
3180
- [ event: 'error'] ( #event-error )
3181
- - [ event: 'messageReceived '] ( #event-messagereceived )
3182
- - [ event: 'messageSent '] ( #event-messagesent )
3181
+ - [ event: 'messagereceived '] ( #event-messagereceived )
3182
+ - [ event: 'messagesent '] ( #event-messagesent )
3183
3183
- [ event: 'open'] ( #event-open )
3184
3184
- [ webSocket.requestHeaders()] ( #websocketrequestheaders )
3185
3185
- [ webSocket.responseHeaders()] ( #websocketresponseheaders )
@@ -3197,13 +3197,13 @@ Fired when the websocket closes.
3197
3197
3198
3198
Fired when the websocket has an error.
3199
3199
3200
- #### event: 'messageReceived '
3201
- -<[ Buffer] |[ String] > data recieved
3200
+ #### event: 'messagereceived '
3201
+ - <[ Buffer] |[ String] > data recieved
3202
3202
3203
3203
Fired when the websocket recieves a message.
3204
3204
3205
- #### event: 'messageSent '
3206
- -<[ Buffer] |[ String] > data recieved
3205
+ #### event: 'messagesent '
3206
+ - <[ Buffer] |[ String] > data recieved
3207
3207
3208
3208
Fired when the websocket sends a message.
3209
3209
Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ export const Events = {
54
54
WebSocket : {
55
55
Close : 'close' ,
56
56
Error : 'error' ,
57
- MessageReceived : 'messageReceived ' ,
58
- MessageSent : 'messageSent ' ,
57
+ MessageReceived : 'messagereceived ' ,
58
+ MessageSent : 'messagesent ' ,
59
59
Open : 'open' ,
60
60
}
61
61
} ;
You can’t perform that action at this time.
0 commit comments