다음을 통해 공유


DownstreamWebApiOptions.CustomizeHttpRequestMessage Property

Definition

Provides an opportunity to customize the HttpRequestMessage. For example, to customize the headers. This is called after the message was formed, including the Authorization header, and just before the message is sent.

public Action<System.Net.Http.HttpRequestMessage>? CustomizeHttpRequestMessage { get; set; }
member this.CustomizeHttpRequestMessage : Action<System.Net.Http.HttpRequestMessage> with get, set
Public Property CustomizeHttpRequestMessage As Action(Of HttpRequestMessage)

Property Value

Applies to