API

SignalR transport negotiation

Selects compatible transports through the SignalR connection protocol.

Formal Syntax & Structure

csharp syntaxcsharp
new HubConnectionBuilder().WithUrl(url).Build()

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.new HubConnectionBuilder().WithUrl(url).Build()
C# & .NET Reference