HttpConnectionOptions class

Options provided to the 'withUrl' method on HubConnectionBuilder to configure options for the HTTP-based transports.


HttpConnectionOptions({SignalRHttpClient httpClient, Object transport, Logger logger, AccessTokenFactory accessTokenFactory, bool logMessageContent = false, bool skipNegotiation = false})


accessTokenFactory AccessTokenFactory
A function that provides an access token required for HTTP Bearer authentication.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
httpClient SignalRHttpClient
An SignalRHttpClient that will be used to make HTTP requests.
read / write
logger Logger
Configures the logger used for logging. [...]
read / write
logMessageContent bool
A boolean indicating if message content should be logged. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
skipNegotiation bool
A boolean indicating if negotiation should be skipped. [...]
read / write
transport Object
An HttpTransportType or ITransport value specifying the transport to use for the connection If transport is null and the server supports all transport protocols than HttpTransportType.WebSockets is used.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]