Class ForwarderHttpClientContext
Contains the old and the new HTTP client configurations.
Inheritance
System.Object
ForwarderHttpClientContext
Namespace: Yarp.ReverseProxy.Forwarder
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ForwarderHttpClientContext : object
Properties
| Improve this Doc View SourceClusterId
Id of a ClusterModel HTTP client belongs to.
Declaration
public string ClusterId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NewConfig
New HttpClientConfig instance specifying the settings for a new client.
Declaration
public HttpClientConfig NewConfig { get; set; }
Property Value
Type | Description |
---|---|
HttpClientConfig |
NewMetadata
New metadata instance used for a new client construction, if any.
Declaration
public IReadOnlyDictionary<string, string>? NewMetadata { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IReadOnlyDictionary<System.String, System.String>> |
OldClient
Old
Declaration
public HttpMessageInvoker? OldClient { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<HttpMessageInvoker> |
OldConfig
Old HttpClientConfig instance from which the OldClient was created. Can be empty if a client is getting constructed for the first time.
Declaration
public HttpClientConfig OldConfig { get; set; }
Property Value
Type | Description |
---|---|
HttpClientConfig |
OldMetadata
Old metadata instance from which the OldClient was created, if any.
Declaration
public IReadOnlyDictionary<string, string>? OldMetadata { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<IReadOnlyDictionary<System.String, System.String>> |