How can I implement a secure WebSocket (wss://) server in Python?

后端 未结 5 2053
情深已故
情深已故 2021-01-31 20:00

I want to serve a real-time stream that has to be securely encrypted due to sensitive data.

I\'ve successfully got normal WebSockets streaming using both gevent and guni

5条回答
  •  情话喂你
    2021-01-31 20:56

    We use Tornado and Tornadio for our realtime app, and I just switched on SSL for websockets, as well as all the other realtime socket.io protocols. It took me just over an hour! more info here:

    http://devblog.resolversystems.com/?p=1084

提交回复
热议问题