Table of Contents

UseVaryAccept Method

Definition

UseVaryAccept(IApplicationBuilder)

Adds an HTTP Vary: Accept header to the IApplicationBuilder request execution pipeline.

public static IApplicationBuilder UseVaryAccept(this IApplicationBuilder builder)

Parameters

builder IApplicationBuilder

The type that provides the mechanisms to configure an application's request pipeline.

Returns

IApplicationBuilder

An IApplicationBuilder that can be used to further configure the request pipeline.