2 implementations of TransferFormat
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
30
public TransferFormat
TransferFormat
=> TransferFormat.Binary;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
80
public TransferFormat
TransferFormat
=> TransferFormat.Text;
3 references to TransferFormat
Microsoft.AspNetCore.SignalR.Core (3)
HubConnectionContext.cs (3)
603
if ((transferFormatFeature.SupportedFormats & Protocol.
TransferFormat
) == 0)
606
await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.
TransferFormat
}' transfer format."));
610
transferFormatFeature.ActiveFormat = Protocol.
TransferFormat
;