mirror of
https://github.com/django/daphne.git
synced 2024-11-11 02:26:35 +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,
|
||||
application_close_timeout=10,
|
||||
ready_callable=None,
|
||||
# Deprecated and does not work, remove in version 2.2
|
||||
ws_protocols=None,
|
||||
):
|
||||
self.application = application
|
||||
self.endpoints = endpoints or []
|
||||
|
|
Loading…
Reference in New Issue
Block a user