mirror of
https://github.com/django/daphne.git
synced 2025-10-27 14:01:03 +03:00
24 lines
504 B
ReStructuredText
24 lines
504 B
ReStructuredText
Message Standards
|
|
=================
|
|
|
|
Some standardised message formats are used for common message types - they
|
|
are detailed below.
|
|
|
|
HTTP Request
|
|
------------
|
|
|
|
Represents a full-fledged, single HTTP request coming in from a client.
|
|
Contains the following keys:
|
|
|
|
* request: An encoded Django HTTP request
|
|
* response_channel: The channel name to write responses to
|
|
|
|
|
|
HTTP Response
|
|
-------------
|
|
|
|
Sends a whole response to a client.
|
|
Contains the following keys:
|
|
|
|
* response: An encoded Django HTTP response
|