This commit is contained in:
Paul Schneider 2016-10-23 01:31:09 +02:00
commit 6e5e0afa9e
17 changed files with 2143 additions and 25 deletions

View file

@ -32,9 +32,10 @@ namespace Yavsc
return app;
}
public static void UseSignalR(this IApplicationBuilder app)
public static void UseSignalR(this IApplicationBuilder app, string path = "/signalr")
{
app.UseAppBuilder(appBuilder => appBuilder.MapSignalR(
path,
new HubConfiguration() {
EnableDetailedErrors = true,
EnableJSONP = true