[Test-Proxy] Support Recording/Playback of WebSocket Traffic
Open
Test-Proxy
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 143
Description
[This MDN article](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_server) has some great detail about how we can make this happen.
Outstanding questions/tasks for this:
- [ ] Can we handle the websocket http handshake request?
- [ ] Can we listen to incoming TCP connections while still maintaining the http routing that is defined in `Startup.cs` for http record/playback?
- [ ] Can we forward websocket traffic properly?
- [ ] Can we apply sanitization to the raw websocket traffic?
- [ ] Can we match the raw binary traffic?
- [ ] Can we store the raw binary traffic without deleting any data? Sanitize secrets out of it?
Contributor guide
Assessment
This issue has not been assessed yet.