sparse-intern-71089
12/08/2020, 7:36 PMdelightful-xylophone-3967
12/08/2020, 7:55 PMctx.eventSourceSubscription = new EventSubscription("sigrev", new EventSubscriptionArgs()
{
Scope = ctx.signalRId,
IncludedEventTypes = new InputList<string>()
{
"Microsoft.SignalRService.ClientConnectionConnected",
"Microsoft.SignalRService.ClientConnectionDisconnected",
},
AzureFunctionEndpoint = new EventSubscriptionAzureFunctionEndpointArgs()
{
FunctionId = ctx.App.FunctionApp.Id.Apply(x => string.Format($"{x}/functions/HandleOnConnectionChanged"))
},
`})`;