Class HttpClientConfig
Options used for communicating with the destination servers.
Inheritance
HttpClientConfig
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
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
|
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
|
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
|
Improve this Doc
View Source
Enables non-ASCII header encoding for outgoing requests.
Declaration
public string RequestHeaderEncoding { get; set; }
Property Value
|
Improve this Doc
View Source
SslProtocols
What TLS protocols to use.
Declaration
public SslProtocols? SslProtocols { get; set; }
Property Value
|
Improve this Doc
View Source
WebProxy
Optional web proxy used when communicating with the destination server.
Declaration
public WebProxyConfig WebProxy { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(HttpClientConfig)
Declaration
public bool Equals(HttpClientConfig other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements