KestrunHost.AddSignalR method (1 of 2)
Adds the default SignalR hub (KestrunHub) to the application at the specified path.
public KestrunHost AddSignalR(string path)
| parameter | description |
|---|---|
| path | The path at which to map the SignalR hub. |
See Also
- class KestrunHost
- namespace Kestrun.Hosting
KestrunHost.AddSignalR<T> method (2 of 2)
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
- class KestrunHost
- namespace Kestrun.Hosting