.
This commit is contained in:
parent
4a252bf5b2
commit
6e5e0afa9e
17 changed files with 2143 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue