mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
35389c6ef8
Former-commit-id: c34b916e186286cd0de6d694d8bdb4f9390121a2 |
||
---|---|---|
.. | ||
README.md |
Secure Websockets
- Run your server through
https://
(iris.Run(iris.TLS)
oriris.Run(iris.AutoTLS)
or a customiris.Listener(...)
) - Nothing changes inside the whole app, including the websocket side
- The clients must dial the websocket server endpoint (i.e
/echo
) viawss://
prefix (instead of the non-securews://
), for examplewss://example.com/echo
- Ready to GO.