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 的位置。