KestrunHost.AddSignalR<T> method

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

public KestrunHost AddSignalR<T>(string path)
    where T : Hub
parameter description
T The type of the SignalR hub.
path The path at which to map the SignalR hub.

Return Value

The current KestrunHost instance.

See Also