oatpp / oatpp-websocket

oatpp-websocket submodule.
https://oatpp.io/
Apache License 2.0
78 stars 32 forks source link

[QUESTION] Redirect websocket connection ? #39

Open MateusDornelles opened 1 year ago

MateusDornelles commented 1 year ago

Hi, how can I redirect an websocket connection ? I would like the user to "log in" using an endpoint and then redirect the connection to my websocket to another endpoint.

Thanks.

lganzzzo commented 1 year ago

Hello @MateusDornelles ,

I'm not sure if I understand the question. Once you upgraded connection on your handshake endpoint - WS connection is handled by WebSocket connection handler.