2 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;
3 references to 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;