KestrunHost.AddSignalR method (1 of 2)

Adds the default SignalR hub (KestrunHub) to the application at the specified path.

public KestrunHost AddSignalR(SignalROptions options)
parameter description
options The options for configuring the SignalR hub.

See Also


KestrunHost.AddSignalR<T> method (2 of 2)

Adds a SignalR hub to the application at the specified path.

public KestrunHost AddSignalR<T>(SignalROptions options)
    where T : Hub
parameter description
T The type of the SignalR hub.
options The options for configuring the SignalR hub.

Return Value

The current KestrunHost instance.

See Also