Class
ReverseProxySettings

This class is used to configure the settings for the reverse proxy. It includes properties for the client port, client protocol, remote host, remote protocol, and whether to preserve the host header.

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public class ReverseProxySettings

Inheritance: objectReverseProxySettings

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()

Constructors

ReverseProxySettings()

Declaration

cs-api-definition
public ReverseProxySettings()

Properties

ClientPort

The port on which the reverse proxy will listen for incoming requests.

Declaration

cs-api-definition
public int ClientPort { get; set; }

Property Value

int

ClientProtocol

The protocol used by the reverse proxy to communicate with the client.

Declaration

cs-api-definition
public ReverseProxyProtocol ClientProtocol { get; set; }

Property Value

ReverseProxyProtocol

PreserveHost

Indicates whether to preserve the original host header in the forwarded request. If true, the original host header will be preserved; otherwise, it will be replaced with the remote host.

Declaration

cs-api-definition
public bool PreserveHost { get; set; }

Property Value

bool

RemoteHost

The remote host to which the reverse proxy will forward requests.

Declaration

cs-api-definition
public string RemoteHost { get; set; }

Property Value

string

RemoteProtocol

The protocol used by the reverse proxy to communicate with the remote host.

Declaration

cs-api-definition
public ReverseProxyProtocol RemoteProtocol { get; set; }

Property Value

ReverseProxyProtocol