6 instantiations of HandshakeRequestMessage
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
1486var handshakeRequest = new HandshakeRequestMessage(_protocol.Name, protocolVersion);
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HandshakeProtocol.cs (1)
222requestMessage = new HandshakeRequestMessage(protocol, protocolVersion.Value);
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
HandshakeProtocolBenchmark.cs (1)
80HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage("json", 1), memoryBufferWriter);
HubConnectionContextBenchmark.cs (1)
31HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage("json", 1), memoryBufferWriter);
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\testassets\Tests.Utils\TestClient.cs (1)
355HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage(_protocol.Name, _protocol.Version), memoryBufferWriter);
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
TestClient.cs (1)
355HandshakeProtocol.WriteRequestMessage(new HandshakeRequestMessage(_protocol.Name, _protocol.Version), memoryBufferWriter);
15 references to HandshakeRequestMessage
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnection.cs (1)
1486var handshakeRequest = new HandshakeRequestMessage(_protocol.Name, protocolVersion);
Microsoft.AspNetCore.SignalR.Common (6)
Protocol\HandshakeProtocol.cs (5)
52/// Writes the serialized representation of a <see cref="HandshakeRequestMessage"/> to the specified writer. 56public static void WriteRequestMessage(HandshakeRequestMessage requestMessage, IBufferWriter<byte> output) 165/// Creates a new <see cref="HandshakeRequestMessage"/> from the specified serialized representation. 169/// <returns>A value that is <c>true</c> if the <see cref="HandshakeRequestMessage"/> was successfully parsed; otherwise, <c>false</c>.</returns> 170public static bool TryParseRequestMessage(ref ReadOnlySequence<byte> buffer, [NotNullWhen(true)] out HandshakeRequestMessage? requestMessage)
Protocol\HandshakeRequestMessage.cs (1)
12/// Initializes a new instance of the <see cref="HandshakeRequestMessage"/> class.
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Internal\Protocol\HandshakeProtocolTests.cs (2)
28Assert.True(HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage)); 39Assert.True(HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage));
Microsoft.AspNetCore.SignalR.Core (1)
HubConnectionContext.cs (1)
537if (HandshakeProtocol.TryParseRequestMessage(ref segment, out var handshakeRequestMessage))
Microsoft.AspNetCore.SignalR.Microbenchmarks (5)
HandshakeProtocolBenchmark.cs (5)
92if (!HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage)) 102if (!HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage)) 112if (!HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage)) 122if (HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage)) 132if (!HandshakeProtocol.TryParseRequestMessage(ref message, out var deserializedMessage))