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 写入。

适用于