Compartir a través de


CorsPolicyBuilder.WithExposedHeaders(String[]) Método

Definición

Agrega el especificado exposedHeaders a la directiva.

public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicyBuilder ^ WithExposedHeaders(... cli::array <System::String ^> ^ exposedHeaders);
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder WithExposedHeaders (params string[] exposedHeaders);
member this.WithExposedHeaders : string[] -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder
Public Function WithExposedHeaders (ParamArray exposedHeaders As String()) As CorsPolicyBuilder

Parámetros

exposedHeaders
String[]

Encabezados que deben exponerse al cliente.

Devoluciones

Generador de directivas actual.

Se aplica a