NegotiateProtocol.WriteResponse 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 response
output
写入 。
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 写入。