tree: 86f8a4414fd30cae1f4e9e381801ae30008f99f1 [path history] [tgz]
  1. BUILD.gn
  2. close_event.cc
  3. close_event.h
  4. close_event.idl
  5. close_event_init.idl
  6. DEPS
  7. dom_websocket.cc
  8. dom_websocket.h
  9. dom_websocket_test.cc
  10. inspector_websocket_events.cc
  11. inspector_websocket_events.h
  12. OWNERS
  13. README.md
  14. web_pepper_socket_channel_client_proxy.h
  15. web_pepper_socket_impl.cc
  16. web_pepper_socket_impl.h
  17. websocket.idl
  18. websocket_channel.h
  19. websocket_channel_client.h
  20. websocket_channel_impl.cc
  21. websocket_channel_impl.h
  22. websocket_channel_impl_test.cc
  23. websocket_handle.h
  24. websocket_handle_impl.cc
  25. websocket_handle_impl.h
third_party/blink/renderer/modules/websockets/README.md

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.