HubConnectionBuilder class

A builder for configuring {@link @aspnet/signalr.HubConnection} instances.

Constructors

HubConnectionBuilder()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build() HubConnection
Creates a HubConnection from the configuration options specified in this builder. [...]
configureLogging(Logger logger) HubConnectionBuilder
Configures console logging for the HubConnection. [...]
withHubProtocol(IHubProtocol protocol) HubConnectionBuilder
Configures the HubConnection to use the specified Hub Protocol. [...]
withUrl(String url, { HttpConnectionOptions options, HttpTransportType transportTyp }) HubConnectionBuilder
Configures the {@link @aspnet/signalr.HubConnection} to use HTTP-based transports to connect to the specified URL. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited