How to set WSS (Secure WebSockets) on Tornado?
In their docstring, they say the following:
WebSocketHandler.get_websocket_scheme
can be used to select the
appropriate url scheme (ws://
or wss://
) in cases where HTTPRequest.protocol
is not set correctly.
So, how can I use get_websocket_scheme
and/or HTTPRequest.protocol
to get the WSS to work on Tornado.