You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Can we get the data sent along handshake as well before proxying websocket request? like on proxyreqws event
proxy.on('proxyReqWs', (proxyReq, req, socket, options, head) => {
//before the request is actually proxyed to the target server
//access socket handshake data like sent via low level params like query and auth
});
Although we can get the query params from url, how to get the auth sent along with handshake request? If we haven't added the option of polling in transport, still initially the upgrade request is an http request. So the handshake request will be an an http request. How to get the data then?
The text was updated successfully, but these errors were encountered:
Areej-Fatima
changed the title
Socket handshake data before prooxying the websocker request
Socket handshake data before proxying the websocket request
Jan 26, 2023
Hi, Can we get the data sent along handshake as well before proxying websocket request? like on
proxyreqws
eventAlthough we can get the query params from url, how to get the auth sent along with handshake request? If we haven't added the option of polling in transport, still initially the upgrade request is an http request. So the handshake request will be an an http request. How to get the data then?
The text was updated successfully, but these errors were encountered: