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! I need to get a certain cookie when the server emits the 'upgrade' event:
server.on('upgrade',(request: IncomingMessage,socket: Socket,head: Buffer)=>{// get request cookie here})
Is it possible to do this? From what I can see inspecting the source code it should be, but if I emit the response parameter typescript complains. Is this a @types/cookies issue then?
The text was updated successfully, but these errors were encountered:
Hi! I need to get a certain cookie when the server emits the 'upgrade' event:
Is it possible to do this? From what I can see inspecting the source code it should be, but if I emit the response parameter typescript complains. Is this a @types/cookies issue then?
The text was updated successfully, but these errors were encountered: