Answer the question
In order to leave comments, you need to log in
How to set cookie on websocket connection in Impress?
Good afternoon.
I am rewriting the application under Impress. Before using Impress, there was something like
var wss = require('ws').createServer();
wss.on('headers', (headers) => {
headers.push('Set-Cookie: myTestCookie=testValue');
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question