Accept ws_protocols for now but ignore the contents

This commit is contained in:
Andrew Godwin 2018-02-24 10:47:09 -08:00
parent 4eb6cab9aa
commit 388bbc5c24

View File

@ -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 []