Skip to content

Commit

Permalink
Improve index page for topic guides.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Feb 15, 2025
1 parent e60e04c commit 82dfd83
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/topics/authentication.rst
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ To authenticate a websockets client with HTTP Basic Authentication
async with connect(f"wss://{username}:{password}@.../") as websocket:
...
(You must :func:`~urllib.parse.quote` ``username`` and ``password`` if they
contain unsafe characters.)
You must :func:`~urllib.parse.quote` ``username`` and ``password`` if they
contain unsafe characters.

To authenticate a websockets client with HTTP Bearer Authentication
(:rfc:`6750`), add a suitable ``Authorization`` header:
Expand Down
18 changes: 13 additions & 5 deletions docs/topics/index.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
Topic guides
============

Get a deeper understanding of how websockets is built and why.
These documents discuss how websockets is designed and how to make the best of
its features when building applications.

.. toctree::
:titlesonly:
:maxdepth: 2

authentication
broadcast
logging
proxies
routing

These guides describe how to optimize the configuration of websockets
applications for performance and reliability.

.. toctree::
:maxdepth: 2

compression
keepalive
logging
memory
security
performance
proxies
routing

0 comments on commit 82dfd83

Please sign in to comment.