Share via


CorsPolicyBuilder.AllowAnyHeader Method

Definition

Ensures that the policy allows any header.

public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ AllowAnyHeader();
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder AllowAnyHeader ();
member this.AllowAnyHeader : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder
Public Function AllowAnyHeader () As CorsPolicyBuilder

Returns

The current policy builder.

Applies to