Share via


NegotiateProtocol.WriteResponse Method

Definition

Writes the response to the 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))

Parameters

response
NegotiationResponse

The negotiation response generated in response to a negotiation request.

output
IBufferWriter<Byte>

Where the response is written to as Json.

Applies to