In nodeJS package for signalR there is an ability to set headers that can be parsed in connect/disconnect events on the server (in case of HTTP handshake).
interface IHttpConnectionOptions {
/** {@link @microsoft/signalr.MessageHeaders} containing custom headers to be sent with every HTTP request. Note, setting headers in the browser will not work for WebSockets or the ServerSentEvents stream. */
headers?: MessageHeaders;
httpClient?: HttpClient;
transport?: HttpTransportType | ITransport;
logger?: ILogger | LogLevel;
logMessageContent?: boolean;
skipNegotiation?: boolean;
withCredentials?: boolean;
}
In nodeJS package for signalR there is an ability to set headers that can be parsed in connect/disconnect events on the server (in case of HTTP handshake).
https://www.npmjs.com/package/@microsoft/signalr
Is it possible to add such ability there?
IHttpConnectionOptions.d.ts