Remove JsonSerializer (#1913)

This commit is contained in:
David Fowler 2018-04-09 02:56:46 -07:00 committed by GitHub
parent 406d8f9a81
commit 95e868b68c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 7 deletions

View File

@ -35,13 +35,6 @@ namespace Microsoft.AspNetCore.SignalR.Redis
private readonly AckHandler _ackHandler;
private int _internalId;
// This serializer is ONLY use to transmit the data through redis, it has no connection to the serializer used on each connection.
private readonly JsonSerializer _serializer = new JsonSerializer
{
TypeNameHandling = TypeNameHandling.None,
Formatting = Formatting.None,
};
public RedisHubLifetimeManager(ILogger<RedisHubLifetimeManager<THub>> logger,
IOptions<RedisOptions> options,
IHubProtocolResolver hubProtocolResolver)