Course lesson
Intercept WebSocket Server Events with MSW
Now that we have the connection to the actual WebSocket server established, we can listen to any events sent from the server to the client. The thing is, our event handler in MSW will receive those events before the client does.
- Duration
- 1 min
- Access
- Free
- Transcript
- Needs source
Now that we have the connection to the actual WebSocket server established, we can listen to any events sent from the server to the client. The thing is, our event handler in MSW will receive those events before the client does.