NegotiateProtocol.ParseResponse Método

Definición

Sobrecargas

ParseResponse(Stream)
Obsoletos.

Este método está obsoleto y se quitará en una versión futura. La alternativa recomendada es ParseResponse(ReadOnlySpan<Byte>).

ParseResponse(ReadOnlySpan<Byte>)

Analiza un NegotiationResponse de como content Json.

ParseResponse(Stream)

Precaución

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

Este método está obsoleto y se quitará en una versión futura. La alternativa recomendada es 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

Parámetros

content
Stream

Devoluciones

Atributos

Se aplica a

ParseResponse(ReadOnlySpan<Byte>)

Analiza un NegotiationResponse de como content 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

Parámetros

content
ReadOnlySpan<Byte>

Bytes de una carga json que representa un NegotiationResponse.

Devoluciones

El objeto NegotiationResponse analizado.

Se aplica a