From 7e53e1a380a49dc1bed35314b2244831591cc09d Mon Sep 17 00:00:00 2001 From: Ahmed Yahia Date: Wed, 14 Nov 2018 18:25:28 +0200 Subject: [PATCH] Update hubcontext.md (#9547) --- aspnetcore/signalr/hubcontext.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/signalr/hubcontext.md b/aspnetcore/signalr/hubcontext.md index dd8a2cc5cb..54cee61b2e 100644 --- a/aspnetcore/signalr/hubcontext.md +++ b/aspnetcore/signalr/hubcontext.md @@ -38,7 +38,7 @@ Now, with access to an instance of `IHubContext`, you can call hub methods as if Access the `IHubContext` within the middleware pipeline like so: ```csharp -app.Use(next => async (context) => +app.Use(async (context, next) => { var hubContext = context.RequestServices .GetRequiredService>();