How to use the @microsoft/signalr/dist/browser/signalr.js.HubConnectionBuilder function in @microsoft/signalr

To help you get started, we’ve selected a few @microsoft/signalr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Radarr / Radarr / frontend / src / Components / SignalRConnector.js View on Github external
componentDidMount() {
    console.log('[signalR] starting');

    const url = `${window.Radarr.urlBase}/signalr/messages`;

    this.connection = new signalR.HubConnectionBuilder()
      .configureLogging(new Logger(signalR.LogLevel.Information))
        nextRetryDelayInMilliseconds: (retryContext) => {
          if (retryContext.elapsedMilliseconds > 180000) {
            this.props.dispatchSetAppValue({ isDisconnected: true });
          return Math.min(retryContext.previousRetryCount, 10) * 1000;



ASP.NET Core SignalR Client

Latest version published 11 days ago

Package Health Score

98 / 100
Full package analysis