HandshakeProtocol.TryParseRequestMessage 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 HandshakeRequestMessage from the specified serialized representation.
public:
static bool TryParseRequestMessage(System::Buffers::ReadOnlySequence<System::Byte> % buffer, [Runtime::InteropServices::Out] Microsoft::AspNetCore::SignalR::Protocol::HandshakeRequestMessage ^ % requestMessage);
public static bool TryParseRequestMessage (ref System.Buffers.ReadOnlySequence<byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage requestMessage);
public static bool TryParseRequestMessage (ref System.Buffers.ReadOnlySequence<byte> buffer, out Microsoft.AspNetCore.SignalR.Protocol.HandshakeRequestMessage? requestMessage);
static member TryParseRequestMessage : ReadOnlySequence * HandshakeRequestMessage -> bool
Public Shared Function TryParseRequestMessage (ByRef buffer As ReadOnlySequence(Of Byte), ByRef requestMessage As HandshakeRequestMessage) As Boolean
Parameters
- buffer
- ReadOnlySequence<Byte>
The serialized representation of the message.
- requestMessage
- HandshakeRequestMessage
When this method returns, contains the parsed message.
Returns
A value that is true
if the HandshakeRequestMessage was successfully parsed; otherwise, false
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for