Course lesson
Respond With a ReadableStream in MSW
You can send any data from your response resolvers. Let's implement a video streaming functionality by responding with a ReadableStream with Mock Service Worker. As a cherry on top, you will learn how to transform that video stream to inject server-side...
- Duration
- 2 min
- Access
- Free
- Transcript
- Retained from source evidence
You can send any data from your response resolvers. Let's implement a video streaming functionality by responding with a ReadableStream with Mock Service Worker. As a cherry on top, you will learn how to transform that video stream to inject server-side latency and see how our application's player handles it.