4 implementations of Name
Microsoft.AspNetCore.Components.Server (1)
BlazorPack\BlazorPackHubProtocol.cs (1)
24public string Name => ProtocolName;
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Protocol\JsonHubProtocol.cs (1)
74public string Name => ProtocolName;
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Protocol\MessagePackHubProtocol.cs (1)
27public string Name => ProtocolName;
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Protocol\NewtonsoftJsonHubProtocol.cs (1)
64public string Name => ProtocolName;
17 references to Name
Microsoft.AspNetCore.SignalR.Client.Core (5)
HubConnection.cs (3)
518Log.DisablingReconnect(_logger, _protocol.Name, _protocol.Version); 525Log.HubProtocol(_logger, _protocol.Name, usedProtocolVersion); 1496var handshakeRequest = new HandshakeRequestMessage(_protocol.Name, protocolVersion);
Internal\SerializedHubMessage.cs (2)
60if (!TryGetCachedUnsynchronized(protocol.Name, out var serialized)) 69SetCacheUnsynchronized(protocol.Name, serialized);
Microsoft.AspNetCore.SignalR.Core (7)
HubConnectionContext.cs (2)
606await WriteHandshakeResponseAsync(new HandshakeResponseMessage($"Cannot use the '{Protocol.Name}' protocol on the current transport. The transport does not support '{Protocol.TransferFormat}' transfer format.")); 641Log.HandshakeComplete(_logger, Protocol.Name);
HubOptionsSetup.cs (1)
39_defaultProtocols.Add(hubProtocol.Name);
Internal\DefaultHubProtocolResolver.cs (2)
26Log.RegisteredSignalRProtocol(_logger, protocol.Name, protocol.GetType()); 27_availableProtocols[protocol.Name] = protocol;
SerializedHubMessage.cs (2)
58if (!TryGetCachedUnsynchronized(protocol.Name, out var serialized)) 67SetCacheUnsynchronized(protocol.Name, serialized);
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\aspnetcore\src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
355HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage(_protocol.Name, _protocol.Version), memoryBufferWriter);
Microsoft.AspNetCore.SignalR.StackExchangeRedis (4)
Internal\DefaultHubMessageSerializer.cs (1)
32list.Add(new SerializedMessage(protocol.Name, protocol.GetMessageBytes(message)));
RedisHubLifetimeManager.cs (3)
82var supportedProtocols = hubProtocolResolver.AllProtocols.Select(p => p.Name).ToList(); 545var protocolName = connection.Protocol.Name; 652if (hubProtocol.Name.Equals(completion.ProtocolName))