次の方法で共有


NegotiateProtocol.ParseResponse メソッド

定義

オーバーロード

ParseResponse(Stream)
古い.

このメソッドは互換性のために残されていますが、今後のバージョンでは削除される予定です。 別の方法として、ParseResponse(ReadOnlySpan<Byte>) を使用することをお勧めします。

ParseResponse(ReadOnlySpan<Byte>)

から contentNegotiationResponse Json として解析します。

ParseResponse(Stream)

ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs

注意事項

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

このメソッドは互換性のために残されていますが、今後のバージョンでは削除される予定です。 別の方法として、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

パラメーター

content
Stream

戻り値

属性

適用対象

ParseResponse(ReadOnlySpan<Byte>)

ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs
ソース:
NegotiateProtocol.cs

から contentNegotiationResponse 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

パラメーター

content
ReadOnlySpan<Byte>

を表す Json ペイロードの NegotiationResponseバイト。

戻り値

解析された NegotiationResponse

適用対象