From 3504337918a510f368d0d411ed588ef51ab13333 Mon Sep 17 00:00:00 2001 From: Pawel Kadluczka Date: Fri, 23 Jun 2017 16:09:52 -0700 Subject: [PATCH] Adding MsgPack HubProtocol --- build/dependencies.props | 1 + .../HubProtocolWriteMessageExtensions.cs | 2 +- .../Internal/Protocol/JsonHubProtocol.cs | 1 - .../Protocol/MessagePackHubProtocol.cs | 233 ++++++++++++++++++ ...Microsoft.AspNetCore.SignalR.Common.csproj | 1 + .../Internal/Protocol/CustomObject.cs | 42 ++++ .../Internal/Protocol/JsonHubProtocolTests.cs | 138 +---------- .../Protocol/MessagePackHubProtocolTests.cs | 110 +++++++++ .../Internal/Protocol/TestBinder.cs | 59 +++++ .../TestHubMessageEqualityComparer.cs | 107 ++++++++ 10 files changed, 558 insertions(+), 136 deletions(-) create mode 100644 src/Microsoft.AspNetCore.SignalR.Common/Internal/Protocol/MessagePackHubProtocol.cs create mode 100644 test/Microsoft.AspNetCore.SignalR.Common.Tests/Internal/Protocol/CustomObject.cs create mode 100644 test/Microsoft.AspNetCore.SignalR.Common.Tests/Internal/Protocol/MessagePackHubProtocolTests.cs create mode 100644 test/Microsoft.AspNetCore.SignalR.Common.Tests/Internal/Protocol/TestBinder.cs create mode 100644 test/Microsoft.AspNetCore.SignalR.Common.Tests/Internal/Protocol/TestHubMessageEqualityComparer.cs diff --git a/build/dependencies.props b/build/dependencies.props index 7cf7a55447..2f1d5fba05 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -15,6 +15,7 @@ 15.3.0-* 2.3.0-beta2-* 3.1.1 + 0.9.0-beta2