共用方式為


NegotiateProtocol.WriteResponse 方法

定義

responseoutput 寫入 。

public:
 static void WriteResponse(Microsoft::AspNetCore::Http::Connections::NegotiationResponse ^ response, System::Buffers::IBufferWriter<System::Byte> ^ output);
public static void WriteResponse (Microsoft.AspNetCore.Http.Connections.NegotiationResponse response, System.Buffers.IBufferWriter<byte> output);
static member WriteResponse : Microsoft.AspNetCore.Http.Connections.NegotiationResponse * System.Buffers.IBufferWriter<byte> -> unit
Public Shared Sub WriteResponse (response As NegotiationResponse, output As IBufferWriter(Of Byte))

參數

response
NegotiationResponse

交涉回應所產生的交涉回應,以回應交涉要求。

output
IBufferWriter<Byte>

response將 寫入為 Json 的位置。

適用於