mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
392 B
392 B
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.