Show / Hide Table of Contents

Class ForwarderHttpClientContext

Contains the old and the new HTTP client configurations.

Inheritance
Object
ForwarderHttpClientContext
Namespace: Yarp.ReverseProxy.Forwarder
Assembly: Yarp.ReverseProxy.dll
Syntax
public class ForwarderHttpClientContext : object

Properties

| Improve this Doc View Source

ClusterId

Id of a ClusterModel HTTP client belongs to.

Declaration
public string ClusterId { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

NewConfig

New HttpClientConfig instance specifying the settings for a new client.

Declaration
public HttpClientConfig NewConfig { get; set; }
Property Value
Type Description
HttpClientConfig
| Improve this Doc View Source

NewMetadata

New metadata instance used for a new client construction, if any.

Declaration
public IReadOnlyDictionary<string, string>? NewMetadata { get; set; }
Property Value
Type Description
Nullable<IReadOnlyDictionary<String, String>>
| Improve this Doc View Source

OldClient

Old instance. Can be null if a client is getting constructed for the first time.

Declaration
public HttpMessageInvoker? OldClient { get; set; }
Property Value
Type Description
Nullable<HttpMessageInvoker>
| Improve this Doc View Source

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
| Improve this Doc View Source

OldMetadata

Old metadata instance from which the OldClient was created, if any.

Declaration
public IReadOnlyDictionary<string, string>? OldMetadata { get; set; }
Property Value
Type Description
Nullable<IReadOnlyDictionary<String, String>>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX