Compartir a través de


ICorsService.ApplyResult(CorsResult, HttpResponse) Método

Definición

Agrega encabezados de respuesta específicos de CORS al especificado response.

public:
 void ApplyResult(Microsoft::AspNetCore::Cors::Infrastructure::CorsResult ^ result, Microsoft::AspNetCore::Http::HttpResponse ^ response);
public void ApplyResult (Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result, Microsoft.AspNetCore.Http.HttpResponse response);
abstract member ApplyResult : Microsoft.AspNetCore.Cors.Infrastructure.CorsResult * Microsoft.AspNetCore.Http.HttpResponse -> unit
Public Sub ApplyResult (result As CorsResult, response As HttpResponse)

Parámetros

result
CorsResult

que CorsResult se usa para leer los valores permitidos.

response
HttpResponse

HttpResponse asociado a la llamada actual.

Se aplica a