Browse Source

Merge pull request #8351 from abpframework/maliming/signalr

Support pre-configure ISignalRServerBuilder.
pull/8366/head
liangshiwei 5 years ago
committed by GitHub
parent
commit
511b1478f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      framework/src/Volo.Abp.AspNetCore.SignalR/Volo/Abp/AspNetCore/SignalR/AbpAspNetCoreSignalRModule.cs

4
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)
{
context.Services.AddSignalR();
var signalRServerBuilder = context.Services.AddSignalR();
context.Services.ExecutePreConfiguredActions(signalRServerBuilder);
Configure<AbpEndpointRouterOptions>(options =>
{

Loading…
Cancel
Save