Sdílet prostřednictvím


NegotiateProtocol.ParseResponse Metoda

Definice

Přetížení

ParseResponse(Stream)
Zastaralé.

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

ParseResponse(ReadOnlySpan<Byte>)

Parsuje NegotiationResponse objekt z objektu content jako JSON.

ParseResponse(Stream)

Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs

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 v budoucí verzi se odebere. 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

Atributy

Platí pro

ParseResponse(ReadOnlySpan<Byte>)

Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs
Zdroj:
NegotiateProtocol.cs

Parsuje NegotiationResponse objekt z objektu content jako 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

Parsovaný NegotiationResponsesoubor .

Platí pro