UseVaryAccept Method
Definition
- Namespace
- Cuemon.Extensions.AspNetCore.Http.Headers
- Assemblies
- Cuemon.Extensions.AspNetCore.dll
UseVaryAccept(IApplicationBuilder)
Adds an HTTP Vary: Accept header to the IApplicationBuilder request execution pipeline.
public static IApplicationBuilder UseVaryAccept(this IApplicationBuilder builder)
Parameters
builderIApplicationBuilderThe 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.