OutputFormatter.WriteResponseHeaders(OutputFormatterWriteContext) Method

Definition

Sets the headers on HttpResponse object.

public:
 virtual void WriteResponseHeaders(Microsoft::AspNetCore::Mvc::Formatters::OutputFormatterWriteContext ^ context);
public virtual void WriteResponseHeaders (Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext context);
abstract member WriteResponseHeaders : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> unit
override this.WriteResponseHeaders : Microsoft.AspNetCore.Mvc.Formatters.OutputFormatterWriteContext -> unit
Public Overridable Sub WriteResponseHeaders (context As OutputFormatterWriteContext)

Parameters

context
OutputFormatterWriteContext

The formatter context associated with the call.

Applies to