Compartir a través de


HeaderPropagationApplicationBuilderExtensions.UseHeaderPropagation Método

Definición

Agrega un middleware que recopila encabezados que se van a propagar a .HttpClient

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseHeaderPropagation(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseHeaderPropagation (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseHeaderPropagation : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseHeaderPropagation (app As IApplicationBuilder) As IApplicationBuilder

Parámetros

app
IApplicationBuilder

al IApplicationBuilder que se va a agregar el middleware.

Devoluciones

Referencia a una app vez completada la operación.

Se aplica a