NegotiateProtocol.ParseResponse Metoda

Definice

Přetížení

ParseResponse(Stream)
Zastaralé.

Tato metoda je zastaralá a bude odebrána v budoucí verzi. Doporučená alternativa je ParseResponse(ReadOnlySpan<Byte>).

ParseResponse(ReadOnlySpan<Byte>)

Parsuje NegotiationResponse ze content souboru Json.

ParseResponse(Stream)

Upozornění

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

Tato metoda je zastaralá a bude odebrána v budoucí verzi. Doporučená alternativa je 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

Parametry

content
Stream

Návraty

NegotiationResponse
Atributy

Platí pro

ParseResponse(ReadOnlySpan<Byte>)

Parsuje NegotiationResponse ze content souboru 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

Parametry

content
ReadOnlySpan<Byte>

Bajty datové části Json, která představuje NegotiationResponse.

Návraty

NegotiationResponse

Parsovaná NegotiationResponse.

Platí pro