tree: c8ba08e10a77481aef7eed0819644d7a5c1b567d [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README.md
  5. close_event.cc
  6. close_event.h
  7. close_event.idl
  8. close_event_init.idl
  9. dom_websocket.cc
  10. dom_websocket.h
  11. dom_websocket_test.cc
  12. inspector_websocket_events.cc
  13. inspector_websocket_events.h
  14. mock_websocket_channel.cc
  15. mock_websocket_channel.h
  16. web_pepper_socket_channel_client_proxy.h
  17. web_pepper_socket_impl.cc
  18. web_pepper_socket_impl.h
  19. websocket.idl
  20. websocket_channel.h
  21. websocket_channel_client.h
  22. websocket_channel_impl.cc
  23. websocket_channel_impl.h
  24. websocket_channel_impl_test.cc
  25. websocket_close_info.idl
  26. websocket_common.cc
  27. websocket_common.h
  28. websocket_common_test.cc
  29. websocket_connection.idl
  30. websocket_message_chunk_accumulator.cc
  31. websocket_message_chunk_accumulator.h
  32. websocket_message_chunk_accumulator_test.cc
  33. websocket_stream.cc
  34. websocket_stream.h
  35. websocket_stream.idl
  36. websocket_stream_options.idl
  37. websocket_stream_test.cc
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.