tree: 72668a7e1e8dd1dc7765ddeface575edce8260a2 [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. DIR_METADATA
  8. dom_websocket.cc
  9. dom_websocket.h
  10. dom_websocket_test.cc
  11. idls.gni
  12. inspector_websocket_events.cc
  13. inspector_websocket_events.h
  14. mock_websocket_channel.cc
  15. mock_websocket_channel.h
  16. OWNERS
  17. README.md
  18. web_pepper_socket_channel_client_proxy.h
  19. web_pepper_socket_impl.cc
  20. web_pepper_socket_impl.h
  21. websocket.idl
  22. websocket_channel.h
  23. websocket_channel_client.h
  24. websocket_channel_impl.cc
  25. websocket_channel_impl.h
  26. websocket_channel_impl_test.cc
  27. websocket_close_info.idl
  28. websocket_common.cc
  29. websocket_common.h
  30. websocket_common_test.cc
  31. websocket_connection.idl
  32. websocket_message_chunk_accumulator.cc
  33. websocket_message_chunk_accumulator.h
  34. websocket_message_chunk_accumulator_test.cc
  35. websocket_stream.cc
  36. websocket_stream.h
  37. websocket_stream.idl
  38. websocket_stream_options.idl
  39. 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.