tree: c6c9c7860e650fb68d970d82892ba324583bce08 [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. inspector_websocket_events.cc
  12. inspector_websocket_events.h
  13. mock_websocket_channel.cc
  14. mock_websocket_channel.h
  15. OWNERS
  16. README.md
  17. web_pepper_socket_channel_client_proxy.h
  18. web_pepper_socket_impl.cc
  19. web_pepper_socket_impl.h
  20. websocket.idl
  21. websocket_channel.h
  22. websocket_channel_client.h
  23. websocket_channel_impl.cc
  24. websocket_channel_impl.h
  25. websocket_channel_impl_test.cc
  26. websocket_close_info.idl
  27. websocket_common.cc
  28. websocket_common.h
  29. websocket_common_test.cc
  30. websocket_error.cc
  31. websocket_error.h
  32. websocket_error.idl
  33. websocket_error_test.cc
  34. websocket_message_chunk_accumulator.cc
  35. websocket_message_chunk_accumulator.h
  36. websocket_message_chunk_accumulator_test.cc
  37. websocket_open_info.idl
  38. websocket_stream.cc
  39. websocket_stream.h
  40. websocket_stream.idl
  41. websocket_stream_options.idl
  42. 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.