Lesson

Understand WebSocket Logs in MSW

Read the WebSocket logging in the browser when mocking APIs with Mock Service Worker.

Access
Included
Transcript
Needs source

When mocking a WebSocket connection in the browser, MSW takes charge of logging WebSocket events in the console. In this one, we explore the different log types and learn how to read the log output of your WebSocket links.

Resources