Skip to content

Commit

Permalink
Fixed anchor links in spec to be better
Browse files Browse the repository at this point in the history
  • Loading branch information
euri10 committed Aug 16, 2020
1 parent 4e1cd89 commit 3e475d2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions specs/www.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ The HTTP protocol should be signified to ASGI applications with a ``type``
value of ``http``.


Connection Scope
''''''''''''''''
HTTP Connection Scope
'''''''''''''''''''''

HTTP connections have a single-request *connection scope* - that is, your
application will be called at the start of the request, and will last until
Expand Down Expand Up @@ -230,8 +230,8 @@ The WebSocket protocol should be signified to ASGI applications with
a ``type`` value of ``websocket``.


Connection Scope
''''''''''''''''
Websocket Connection Scope
''''''''''''''''''''''''''

WebSocket connections' scope lives as long as the socket itself - if the
application dies the socket should be closed, and vice-versa.
Expand Down Expand Up @@ -364,6 +364,8 @@ Exactly one of ``bytes`` or ``text`` must be non-``None``. One or both
keys may be present, however.


.. _disconnect-receive-event-ws:

Disconnect - ``receive`` event
''''''''''''''''''''''''''''''

Expand Down

0 comments on commit 3e475d2

Please sign in to comment.