API
WithAutomaticReconnect
Opts into established-connection reconnection behavior.
Formal Syntax & Structure
csharp syntaxcsharp
new HubConnectionBuilder().WithUrl(url).WithAutomaticReconnect().Build()Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.new HubConnectionBuilder().WithUrl(url).WithAutomaticReconnect().Build()