Add System.Text.Json protocol to the SignalR functional tests (#9936)

This commit is contained in:
Mikael Mengistu 2019-05-07 18:04:56 -07:00 committed by GitHub
parent a26c4e936b
commit b0659f660b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1674,7 +1674,8 @@ namespace Microsoft.AspNetCore.SignalR.Client.FunctionalTests
public static Dictionary<string, IHubProtocol> HubProtocols =>
new Dictionary<string, IHubProtocol>
{
{ "json", new NewtonsoftJsonHubProtocol() },
{ "json", new JsonHubProtocol() },
{ "newtonsoft-json", new NewtonsoftJsonHubProtocol() },
{ "messagepack", new MessagePackHubProtocol() },
};