Share via


NegotiateProtocol.ParseResponse Method

Definition

Overloads

ParseResponse(Stream)
Obsolete.

This method is obsolete and will be removed in a future version. The recommended alternative is ParseResponse(ReadOnlySpan<Byte>).

ParseResponse(ReadOnlySpan<Byte>)

Parses a NegotiationResponse from the content as Json.

ParseResponse(Stream)

Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs

Caution

This method is obsolete and will be removed in a future version. The recommended alternative is ParseResponse(ReadOnlySpan{byte}).

This method is obsolete and will be removed in a future version. The recommended alternative is ParseResponse(ReadOnlySpan<Byte>).

public:
 static Microsoft::AspNetCore::Http::Connections::NegotiationResponse ^ ParseResponse(System::IO::Stream ^ content);
public static Microsoft.AspNetCore.Http.Connections.NegotiationResponse ParseResponse (System.IO.Stream content);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is ParseResponse(ReadOnlySpan{byte}).")]
public static Microsoft.AspNetCore.Http.Connections.NegotiationResponse ParseResponse (System.IO.Stream content);
static member ParseResponse : System.IO.Stream -> Microsoft.AspNetCore.Http.Connections.NegotiationResponse
[<System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is ParseResponse(ReadOnlySpan{byte}).")>]
static member ParseResponse : System.IO.Stream -> Microsoft.AspNetCore.Http.Connections.NegotiationResponse
Public Shared Function ParseResponse (content As Stream) As NegotiationResponse

Parameters

content
Stream

Returns

Attributes

Applies to

ParseResponse(ReadOnlySpan<Byte>)

Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs
Source:
NegotiateProtocol.cs

Parses a NegotiationResponse from the content as Json.

public:
 static Microsoft::AspNetCore::Http::Connections::NegotiationResponse ^ ParseResponse(ReadOnlySpan<System::Byte> content);
public static Microsoft.AspNetCore.Http.Connections.NegotiationResponse ParseResponse (ReadOnlySpan<byte> content);
static member ParseResponse : ReadOnlySpan<byte> -> Microsoft.AspNetCore.Http.Connections.NegotiationResponse
Public Shared Function ParseResponse (content As ReadOnlySpan(Of Byte)) As NegotiationResponse

Parameters

content
ReadOnlySpan<Byte>

The bytes of a Json payload that represents a NegotiationResponse.

Returns

The parsed NegotiationResponse.

Applies to