13 implementations of TransferFormat
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
30public TransferFormat TransferFormat => TransferFormat.Binary;
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubProtocolVersionTests.cs (1)
212public TransferFormat TransferFormat => _protocol.TransferFormat;
VersionJsonHubProtocol.cs (1)
27public TransferFormat TransferFormat => _innerProtocol.TransferFormat;
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.cs (1)
989public TransferFormat TransferFormat => TransferFormat.Binary;
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
DefaultHubDispatcherBenchmark.cs (1)
60public TransferFormat TransferFormat { get; }
RedisHubLifetimeManagerBenchmark.cs (1)
178public TransferFormat TransferFormat => _innerProtocol.TransferFormat;
RedisProtocolBenchmark.cs (1)
131public TransferFormat TransferFormat => TransferFormat.Text;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
80public TransferFormat TransferFormat => TransferFormat.Text;
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocol.cs (1)
33public TransferFormat TransferFormat => TransferFormat.Binary;
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Protocol\NewtonsoftJsonHubProtocol.cs (1)
70public TransferFormat TransferFormat => TransferFormat.Text;
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
DefaultHubMessageSerializerTests.cs (1)
143public TransferFormat TransferFormat => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Tests (1)
AddSignalRTests.cs (1)
334public TransferFormat TransferFormat => throw new NotImplementedException();
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
DummyHubProtocol.cs (1)
21public TransferFormat TransferFormat => TransferFormat.Text;
9 references to TransferFormat
Microsoft.AspNetCore.SignalR.Client (1)
HubConnectionBuilderHttpExtensions.cs (1)
182_defaultTransferFormat = hubProtocol.TransferFormat;
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (1)
63GetHttpConnectionFactory(url, loggerFactory, path, transportType.Value, protocol.TransferFormat));
HubProtocolVersionTests.cs (1)
212public TransferFormat TransferFormat => _protocol.TransferFormat;
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionContext.cs (3)
566if ((transferFormatFeature.SupportedFormats & Protocol.TransferFormat) == 0) 569await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format.")); 573transferFormatFeature.ActiveFormat = Protocol.TransferFormat;
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
RedisHubLifetimeManagerBenchmark.cs (1)
178public TransferFormat TransferFormat => _innerProtocol.TransferFormat;
Microsoft.AspNetCore.SignalR.Tests (2)
HubConnectionHandlerTests.cs (2)
2016client.SupportedFormats = protocol.TransferFormat; 3896testProtocol.Setup(m => m.TransferFormat).Returns(TransferFormat.Binary);