mirror of
https://github.com/django/daphne.git
synced 2024-11-25 01:03:45 +03:00
Accept ws_protocols for now but ignore the contents
This commit is contained in:
parent
4eb6cab9aa
commit
388bbc5c24
|
@ -53,6 +53,8 @@ class Server(object):
|
||||||
websocket_handshake_timeout=5,
|
websocket_handshake_timeout=5,
|
||||||
application_close_timeout=10,
|
application_close_timeout=10,
|
||||||
ready_callable=None,
|
ready_callable=None,
|
||||||
|
# Deprecated and does not work, remove in version 2.2
|
||||||
|
ws_protocols=None,
|
||||||
):
|
):
|
||||||
self.application = application
|
self.application = application
|
||||||
self.endpoints = endpoints or []
|
self.endpoints = endpoints or []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user