Browse Source
Merge pull request #8351 from abpframework/maliming/signalr
Support pre-configure ISignalRServerBuilder.
pull/8366/head
liangshiwei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.SignalR/Volo/Abp/AspNetCore/SignalR/AbpAspNetCoreSignalRModule.cs
|
|
@ -30,7 +30,9 @@ namespace Volo.Abp.AspNetCore.SignalR |
|
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
{ |
|
|
{ |
|
|
context.Services.AddSignalR(); |
|
|
var signalRServerBuilder = context.Services.AddSignalR(); |
|
|
|
|
|
|
|
|
|
|
|
context.Services.ExecutePreConfiguredActions(signalRServerBuilder); |
|
|
|
|
|
|
|
|
Configure<AbpEndpointRouterOptions>(options => |
|
|
Configure<AbpEndpointRouterOptions>(options => |
|
|
{ |
|
|
{ |
|
|
|