HandshakeProtocol.TryParseResponseMessage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new HandshakeResponseMessage from the specified serialized representation.
public:
static bool TryParseResponseMessage(System::Buffers::ReadOnlySequence<System::Byte> % buffer, [Runtime::InteropServices::Out] Microsoft::AspNetCore::SignalR::Protocol::HandshakeResponseMessage ^ % responseMessage);
public static bool TryParseResponseMessage (ref System.Buffers.ReadOnlySequence<byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage responseMessage);
public static bool TryParseResponseMessage (ref System.Buffers.ReadOnlySequence<byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeResponseMessage? responseMessage);
static member TryParseResponseMessage : ReadOnlySequence * HandshakeResponseMessage -> bool
Public Shared Function TryParseResponseMessage (ByRef buffer As ReadOnlySequence(Of Byte), ByRef responseMessage As HandshakeResponseMessage) As Boolean
Parameters
- buffer
- ReadOnlySequence<Byte>
The serialized representation of the message.
- responseMessage
- HandshakeResponseMessage
When this method returns, contains the parsed message.
Returns
A value that is true
if the HandshakeResponseMessage was successfully parsed; otherwise, false
.