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
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;
}
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: