From 5c9b64244a554ce03459893d70e8d61e82ed9ae0 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Wed, 18 Apr 2018 10:35:55 -0700 Subject: [PATCH] Expose the IHubProtocol on HubConnectionContext (#2073) --- src/Microsoft.AspNetCore.SignalR.Core/HubConnectionContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.SignalR.Core/HubConnectionContext.cs b/src/Microsoft.AspNetCore.SignalR.Core/HubConnectionContext.cs index c0787f4f03..ebd4fd154e 100644 --- a/src/Microsoft.AspNetCore.SignalR.Core/HubConnectionContext.cs +++ b/src/Microsoft.AspNetCore.SignalR.Core/HubConnectionContext.cs @@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.SignalR public string UserIdentifier { get; set; } - internal virtual IHubProtocol Protocol { get; set; } + public virtual IHubProtocol Protocol { get; internal set; } internal ExceptionDispatchInfo AbortException { get; private set; }