HttpConnectionOptions constructor

HttpConnectionOptions({
  1. SignalRHttpClient? httpClient,
  2. Object? transport,
  3. Logger? logger,
  4. AccessTokenFactory? accessTokenFactory,
  5. MessageHeaders? headers,
  6. bool logMessageContent = false,
  7. bool skipNegotiation = false,
  8. int requestTimeout = 2000,
})

Implementation

HttpConnectionOptions(
    {SignalRHttpClient? httpClient,
    Object? transport,
    Logger? logger,
    AccessTokenFactory? accessTokenFactory,
    MessageHeaders? headers,
    bool logMessageContent = false,
    bool skipNegotiation = false,
    int requestTimeout = 2000})
    : this.httpClient = httpClient,
      this.transport = transport,
      this.logger = logger,
      this.accessTokenFactory = accessTokenFactory,
      this.headers = headers,
      this.logMessageContent = logMessageContent,
      this.skipNegotiation = skipNegotiation,
      this.requestTimeout = requestTimeout;