...
The above diagram describes, at a high level, how websocker websocket requests are handled.
A browser initiates websocket connection by sending an HTTP connection upgrade request, Knox's websocket handler intercepts this request and returns a secure socket (wss://) to the browser - acting as a websocket server. Knox's websocket handler also establishes another connection with the backend websocker server - acting as a websocket client.
...