Open NoSoup4you2 opened 5 years ago
Hi,
was wondering if you can provide some sample of syntax on how to pass additional Headers via options in the SocketIoConfig
const config: SocketIoConfig = { url: 'https://nodejs.pub.pgtel.net', options: {} };
here is what i like to pass
transportOptions: { polling: { extraHeaders: { 'x-clientid': 'abc' } } }
Hi,
was wondering if you can provide some sample of syntax on how to pass additional Headers via options in the SocketIoConfig
const config: SocketIoConfig = { url: 'https://nodejs.pub.pgtel.net', options: {} };
here is what i like to pass