• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

DIR_METADATAH A D16-Feb-2021458 1211

OWNERSH A D16-Feb-202161 43

README.mdH A D16-Feb-20211.8 KiB3632

websocket_basic_handshake_stream.ccH A D16-Feb-202119.2 KiB530417

websocket_basic_handshake_stream.hH A D16-Feb-20215.8 KiB16092

websocket_basic_handshake_stream_test.ccH A D16-Feb-20213.5 KiB9077

websocket_basic_stream.ccH A D16-Feb-202116.8 KiB444347

websocket_basic_stream.hH A D16-Feb-20218.5 KiB20288

websocket_basic_stream_adapters.ccH A D16-Feb-20215.8 KiB220163

websocket_basic_stream_adapters.hH A D16-Feb-20215.1 KiB15487

websocket_basic_stream_adapters_test.ccH A D16-Feb-202137.4 KiB1,007782

websocket_basic_stream_test.ccH A D16-Feb-202138.7 KiB976732

websocket_channel.ccH A D16-Feb-202138.2 KiB1,061813

websocket_channel.hH A D16-Feb-202117.1 KiB398179

websocket_channel_test.ccH A D16-Feb-2021113 KiB2,8162,158

websocket_deflate_parameters.ccH A D16-Feb-20216.1 KiB181148

websocket_deflate_parameters.hH A D16-Feb-20214.8 KiB14197

websocket_deflate_parameters_test.ccH A D16-Feb-20219.9 KiB261210

websocket_deflate_predictor.hH A D16-Feb-20212.3 KiB6324

websocket_deflate_predictor_impl.ccH A D16-Feb-2021666 2413

websocket_deflate_predictor_impl.hH A D16-Feb-2021974 3420

websocket_deflate_predictor_impl_test.ccH A D16-Feb-2021807 3117

websocket_deflate_stream.ccH A D16-Feb-202114.3 KiB401350

websocket_deflate_stream.hH A D16-Feb-20214.3 KiB11671

websocket_deflate_stream_fuzzer.ccH A D16-Feb-20215.6 KiB142105

websocket_deflate_stream_test.ccH A D16-Feb-202151.4 KiB1,3941,210

websocket_deflater.ccH A D16-Feb-20214.7 KiB152102

websocket_deflater.hH A D16-Feb-20212.2 KiB7939

websocket_deflater_test.ccH A D16-Feb-20214.9 KiB138106

websocket_end_to_end_test.ccH A D16-Feb-202123.2 KiB615462

websocket_errors.ccH A D16-Feb-20211.2 KiB4226

websocket_errors.hH A D16-Feb-20211.9 KiB5527

websocket_errors_test.ccH A D16-Feb-20211.2 KiB3421

websocket_event_interface.hH A D16-Feb-20216.4 KiB16771

websocket_extension.ccH A D16-Feb-20212 KiB7450

websocket_extension.hH A D16-Feb-20211.9 KiB6035

websocket_extension_parser.ccH A D16-Feb-20213.3 KiB150117

websocket_extension_parser.hH A D16-Feb-20212 KiB6539

websocket_extension_parser_fuzzer.ccH A D16-Feb-2021481 178

websocket_extension_parser_test.ccH A D16-Feb-20216.3 KiB174132

websocket_extension_test.ccH A D16-Feb-20211.6 KiB6144

websocket_frame.ccH A D16-Feb-20219.3 KiB256177

websocket_frame.hH A D16-Feb-20217.6 KiB20883

websocket_frame_parser.ccH A D16-Feb-20217.4 KiB210173

websocket_frame_parser.hH A D16-Feb-20213.4 KiB9133

websocket_frame_parser_fuzzer.ccH A D16-Feb-2021886 2717

websocket_frame_parser_test.ccH A D16-Feb-202121.4 KiB589514

websocket_frame_perftest.ccH A D16-Feb-20212.6 KiB7856

websocket_frame_test.ccH A D16-Feb-202115.6 KiB393315

websocket_handshake_challenge.ccH A D16-Feb-2021594 2112

websocket_handshake_challenge.hH A D16-Feb-2021646 229

websocket_handshake_challenge_test.ccH A D16-Feb-2021621 2512

websocket_handshake_constants.ccH A D16-Feb-2021900 2916

websocket_handshake_constants.hH A D16-Feb-20212.1 KiB6720

websocket_handshake_request_info.ccH A D16-Feb-2021551 2010

websocket_handshake_request_info.hH A D16-Feb-2021947 3520

websocket_handshake_response_info.ccH A D16-Feb-2021790 2817

websocket_handshake_response_info.hH A D16-Feb-20211.2 KiB4125

websocket_handshake_stream_base.ccH A D16-Feb-20215.2 KiB149121

websocket_handshake_stream_base.hH A D16-Feb-20216.2 KiB15880

websocket_handshake_stream_create_helper.ccH A D16-Feb-20212.2 KiB6246

websocket_handshake_stream_create_helper.hH A D16-Feb-20212.2 KiB6436

websocket_handshake_stream_create_helper_test.ccH A D16-Feb-202114.2 KiB359297

websocket_http2_handshake_stream.ccH A D16-Feb-202112.4 KiB389305

websocket_http2_handshake_stream.hH A D16-Feb-20216.5 KiB189113

websocket_inflater.ccH A D16-Feb-20218.3 KiB282223

websocket_inflater.hH A D16-Feb-20214.2 KiB13366

websocket_inflater_test.ccH A D16-Feb-20217.2 KiB224170

websocket_stream.ccH A D16-Feb-202118.2 KiB499377

websocket_stream.hH A D16-Feb-202112.5 KiB292125

websocket_stream_cookie_test.ccH A D16-Feb-202115.9 KiB536413

websocket_stream_create_test_base.ccH A D16-Feb-20215.3 KiB152124

websocket_stream_create_test_base.hH A D16-Feb-20213.6 KiB10872

websocket_stream_test.ccH A D16-Feb-202169.9 KiB1,7941,455

websocket_test_util.ccH A D16-Feb-202110.9 KiB290243

websocket_test_util.hH A D16-Feb-20219.5 KiB248152

README.md

1# WebSocket protocol
2
3This directory contains the implementation of
4[the WebSocket protocol](https://tools.ietf.org/html/rfc6455).
5
6## Design docs
7
8* [WebSocketBasicHandshakeStream design
9  memo](https://docs.google.com/document/d/1r7dQDA9AQBD_kOk-z-yMi0WgLQZ-5m7psMO5pYLFUL8/edit).
10  Some details have changed, but still a mostly-accurate description of
11  Chromium's current implementation.
12* [WebSocket Throttling
13  Design](https://docs.google.com/document/d/1a8sUFQsbN5uve7ziW61ATkrFr3o9A-Tiyw8ig6T3puA/edit)
14  discusses how we enforce WebSocket connection throttling. Also contains
15  detailed discussion of how WebSockets integrate with the socket pools. Dates
16  from 2014, but still mostly relevant.
17* [WebSockets over
18  HTTP/2](https://docs.google.com/document/d/1ZxaHz4j2BDMa1aI5CQHMjtFI3UxGT459pjYv4To9rFY/edit).
19  Current as of 2019 description of WebSocket over H/2 implementation.
20* [WebSocket + Network Service + WebRequest
21  API](https://docs.google.com/document/d/1L85aXX-m5NaV-g223lH7kKB2HPg6kMi1cjrDVeEptE8/edit):
22  design for how extension callbacks are called when the network service is
23  enabled.
24* [WebSocket HTTP Auth
25  Design](https://docs.google.com/document/d/129rLtf5x3hvhP5rayLiSxnEjOXS8Z7EnLJgBL4CdwjI/edit).
26  This document is very low on detail, but can serve as an overview of how auth
27  works for WebSockets.
28* [Per-renderer WebSocket
29  throttling](https://docs.google.com/document/d/1aw2oN5PKfk-1gLnBrlv1OwLA8K3-ykM2ckwX2lubTg4/edit).
30  While the algorithm described in this document is still used, the code has
31  moved around significantly due to network servicification.
32* [WebSocket Protocol Stack in
33  chrome/net](https://docs.google.com/document/d/11n3hpwb9lD9YVqnjX3OwzE_jHgTmKIqd6GvXE9bDGUg/edit).
34  Early design doc for the current implementation. Mostly of historical interest
35  only.
36