WebSocket API
This directory contains:
- the implementation of the WebSocket API.
- the Pepper implementation of the WebSocket API
They use WebSocketChannelImpl to connect to the WebSocket service i.e. the blink.mojom.WebSocket implementation in content/browser/websockets/.
Design docs
See also //net/websockets/README.md for the design of the network service side of the implementation.
- WebSocket SafeBrowsing Support describes how SafeBrowsing checks are done on WebSocket URLs. Some class names and details have changed as Worker WebSockets are no longer proxies via the main thread.