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

..03-May-2022-

OWNERSH A D07-Nov-2020139 75

README.mdH A D07-Nov-20201.8 KiB3632

websocket_basic_handshake_stream.ccH A D07-Nov-202018.8 KiB522409

websocket_basic_handshake_stream.hH A D07-Nov-20205.8 KiB15890

websocket_basic_handshake_stream_test.ccH A D07-Nov-20203.5 KiB9178

websocket_basic_stream.ccH A D07-Nov-202017.7 KiB465364

websocket_basic_stream.hH A D07-Nov-20208.6 KiB20489

websocket_basic_stream_adapters.ccH A D07-Nov-20205.7 KiB215159

websocket_basic_stream_adapters.hH A D07-Nov-20205.1 KiB15487

websocket_basic_stream_adapters_test.ccH A D07-Nov-202035.8 KiB969750

websocket_basic_stream_test.ccH A D07-Nov-202038.7 KiB976732

websocket_channel.ccH A D07-Nov-202039.9 KiB1,091823

websocket_channel.hH A D07-Nov-202018.1 KiB419181

websocket_channel_test.ccH A D07-Nov-2020118.4 KiB2,9552,259

websocket_deflate_parameters.ccH A D07-Nov-20206.1 KiB181148

websocket_deflate_parameters.hH A D07-Nov-20204.8 KiB14197

websocket_deflate_parameters_test.ccH A D07-Nov-20209.9 KiB261210

websocket_deflate_predictor.hH A D07-Nov-20202.3 KiB6324

websocket_deflate_predictor_impl.ccH A D07-Nov-2020666 2413

websocket_deflate_predictor_impl.hH A D07-Nov-2020974 3420

websocket_deflate_predictor_impl_test.ccH A D07-Nov-2020807 3117

websocket_deflate_stream.ccH A D07-Nov-202014.3 KiB401350

websocket_deflate_stream.hH A D07-Nov-20204.3 KiB11671

websocket_deflate_stream_fuzzer.ccH A D07-Nov-20205.6 KiB142105

websocket_deflate_stream_test.ccH A D07-Nov-202051.4 KiB1,3941,210

websocket_deflater.ccH A D07-Nov-20204.7 KiB152102

websocket_deflater.hH A D07-Nov-20202.2 KiB7939

websocket_deflater_test.ccH A D07-Nov-20204.9 KiB138106

websocket_end_to_end_test.ccH A D07-Nov-202023.1 KiB609456

websocket_errors.ccH A D07-Nov-20201.2 KiB4327

websocket_errors.hH A D07-Nov-20201.9 KiB5527

websocket_errors_test.ccH A D07-Nov-20201.2 KiB3421

websocket_event_interface.hH A D07-Nov-20206 KiB16070

websocket_extension.ccH A D07-Nov-20202.1 KiB7450

websocket_extension.hH A D07-Nov-20201.9 KiB6035

websocket_extension_parser.ccH A D07-Nov-20203.3 KiB150117

websocket_extension_parser.hH A D07-Nov-20202 KiB6539

websocket_extension_parser_fuzzer.ccH A D07-Nov-2020481 178

websocket_extension_parser_test.ccH A D07-Nov-20206.3 KiB174132

websocket_extension_test.ccH A D07-Nov-20201.6 KiB6144

websocket_frame.ccH A D07-Nov-20209.3 KiB254176

websocket_frame.hH A D07-Nov-20207.6 KiB20883

websocket_frame_parser.ccH A D07-Nov-20207.4 KiB210173

websocket_frame_parser.hH A D07-Nov-20203.4 KiB9133

websocket_frame_parser_fuzzer.ccH A D07-Nov-2020886 2717

websocket_frame_parser_test.ccH A D07-Nov-202021.4 KiB589514

websocket_frame_perftest.ccH A D07-Nov-20202.6 KiB7856

websocket_frame_test.ccH A D07-Nov-202015.6 KiB393315

websocket_handshake_challenge.ccH A D07-Nov-2020594 2112

websocket_handshake_challenge.hH A D07-Nov-2020646 229

websocket_handshake_challenge_test.ccH A D07-Nov-2020621 2512

websocket_handshake_constants.ccH A D07-Nov-2020900 2916

websocket_handshake_constants.hH A D07-Nov-20202.1 KiB6720

websocket_handshake_request_info.ccH A D07-Nov-2020551 2010

websocket_handshake_request_info.hH A D07-Nov-2020947 3520

websocket_handshake_response_info.ccH A D07-Nov-2020790 2817

websocket_handshake_response_info.hH A D07-Nov-20201.2 KiB4125

websocket_handshake_stream_base.ccH A D07-Nov-20205.2 KiB149121

websocket_handshake_stream_base.hH A D07-Nov-20206.2 KiB15880

websocket_handshake_stream_create_helper.ccH A D07-Nov-20202.3 KiB6246

websocket_handshake_stream_create_helper.hH A D07-Nov-20202.2 KiB6436

websocket_handshake_stream_create_helper_test.ccH A D07-Nov-202014.1 KiB354292

websocket_http2_handshake_stream.ccH A D07-Nov-202012.1 KiB378295

websocket_http2_handshake_stream.hH A D07-Nov-20206.4 KiB186110

websocket_inflater.ccH A D07-Nov-20208.3 KiB282223

websocket_inflater.hH A D07-Nov-20204.2 KiB13366

websocket_inflater_test.ccH A D07-Nov-20207.2 KiB224170

websocket_stream.ccH A D07-Nov-202018.5 KiB508384

websocket_stream.hH A D07-Nov-202012.5 KiB290118

websocket_stream_cookie_test.ccH A D07-Nov-202015.6 KiB534411

websocket_stream_create_test_base.ccH A D07-Nov-20205.1 KiB148120

websocket_stream_create_test_base.hH A D07-Nov-20203.4 KiB10670

websocket_stream_test.ccH A D07-Nov-202068.2 KiB1,7531,418

websocket_test_util.ccH A D07-Nov-202010.9 KiB290243

websocket_test_util.hH A D07-Nov-20209.3 KiB243147

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