Show / Hide Table of Contents

Class HttpClientConfig

Options used for communicating with the destination servers.

Inheritance
Object
HttpClientConfig
Implements
IEquatable<HttpClientConfig>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Yarp.ReverseProxy.Configuration
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class HttpClientConfig : IEquatable<HttpClientConfig>

Fields

| Improve this Doc View Source

Empty

An empty options instance.

Declaration
public static readonly HttpClientConfig Empty
Field Value
Type Description
HttpClientConfig

Properties

| Improve this Doc View Source

DangerousAcceptAnyServerCertificate

Indicates if destination server https certificate errors should be ignored. This should only be done when using self-signed certificates.

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

EnableMultipleHttp2Connections

Gets or sets a value that indicates whether additional HTTP/2 connections can be established to the same server when the maximum number of concurrent streams is reached on all existing connections.

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

MaxConnectionsPerServer

Limits the number of connections used when communicating with the destination server.

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

RequestHeaderEncoding

Enables non-ASCII header encoding for outgoing requests.

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

SslProtocols

What TLS protocols to use.

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

WebProxy

Optional web proxy used when communicating with the destination server.

Declaration
public WebProxyConfig WebProxy { get; set; }
Property Value
Type Description
WebProxyConfig

Methods

| Improve this Doc View Source

Equals(HttpClientConfig)

Declaration
public bool Equals(HttpClientConfig other)
Parameters
Type Name Description
HttpClientConfig other
Returns
Type Description
Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX