mirror of
https://github.com/kataras/iris.git
synced 2026-06-10 15:43:38 +00:00
35389c6ef8
Former-commit-id: c34b916e186286cd0de6d694d8bdb4f9390121a2
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.