4 implementations of TransferFormat
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
30public TransferFormat TransferFormat => TransferFormat.Binary;
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;
4 references to TransferFormat
Microsoft.AspNetCore.SignalR.Client (1)
HubConnectionBuilderHttpExtensions.cs (1)
182_defaultTransferFormat = hubProtocol.TransferFormat;
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionContext.cs (3)
603if ((transferFormatFeature.SupportedFormats & Protocol.TransferFormat) == 0) 606await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format.")); 610transferFormatFeature.ActiveFormat = Protocol.TransferFormat;