- 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.