Interface
IFiddlerCoreStartupSettingsBuilder<T, P>

A generic builder interface for FiddlerCoreStartupSettings.

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Type Parameters:

T

IFiddlerCoreStartupSettingsBuilder<T, P>

P

FiddlerCoreStartupSettings

Syntax:

cs-api-definition
public interface IFiddlerCoreStartupSettingsBuilder<out T, out P> where T : IFiddlerCoreStartupSettingsBuilder<out T, out P> where P : FiddlerCoreStartupSettings

Derived Classes: FiddlerCoreStartupSettingsBuilderFiddlerCoreStartupSettingsBuilder<T, P>

Methods

AllowRemoteClients()

Accepts requests from remote computers or devices. WARNING: Security Impact

Declaration

cs-api-definition
T AllowRemoteClients()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

Remarks

Use caution when allowing Remote Clients to connect. If a hostile computer is able to proxy its traffic through your FiddlerCore instance, he could circumvent IPSec traffic rules, circumvent intranet firewalls, consume memory on your PC, etc.

Build()

Builds the FiddlerCoreStartupSettings instance.

Declaration

cs-api-definition
P Build()

Returns

P

The instance of FiddlerCoreStartupSettings.

CaptureFTP()

Registers FiddlerCore as the FTP proxy.

Declaration

cs-api-definition
T CaptureFTP()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

CaptureLocalhostTraffic()

Passes the <-loopback> token to the proxy exception list.

Declaration

cs-api-definition
[Obsolete("Use the Telerik.NetworkConnections.NetworkConnectionsManager to register the FiddlerCore Proxy as proxy for each required connection and set the BypassHosts accordingly.")]
T CaptureLocalhostTraffic()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

ChainToUpstreamGateway()

Forwards requests to any upstream gateway.

Declaration

cs-api-definition
[Obsolete("Please, use the SetUpstreamProxySettingsTo method to provide the upstream proxy for FiddlerCore.")]
T ChainToUpstreamGateway()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

DecryptSSL()

Decrypts HTTPS Traffic.

Declaration

cs-api-definition
T DecryptSSL()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

HookUsingPACFile()

Sets connections to use a self-generated PAC File.

Declaration

cs-api-definition
T HookUsingPACFile()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

ListenOnPort(ushort)

The port on which the FiddlerCore app will listen on. If 0, a random port will be used.

Declaration

cs-api-definition
T ListenOnPort(ushort port)

Parameters

port

ushort

The port on which the FiddlerCore app should listen on.

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

MonitorAllConnections()

Sets all connections to use FiddlerCore, otherwise only the Local LAN is pointed to FiddlerCore.

Declaration

cs-api-definition
T MonitorAllConnections()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

RegisterAsReverseProxy(int, string, ReverseProxyProtocol, ReverseProxyProtocol, bool)

Registers FiddlerCore as a Reverse Proxy.

Declaration

cs-api-definition
T RegisterAsReverseProxy(int clientPort, string remoteHost, ReverseProxyProtocol clientProtocol = ReverseProxyProtocol.HttpAndHttps, ReverseProxyProtocol remoteProtocol = ReverseProxyProtocol.HttpAndHttps, bool preserveHost = false)

Parameters

clientPort

int

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

remoteHost

string

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

clientProtocol

ReverseProxyProtocol

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

remoteProtocol

ReverseProxyProtocol

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

preserveHost

bool

Indicates whether to preserve the original host header in the forwarded request.

Returns

T

FiddlerCoreStartupSettingsBuilder<T, P>

Remarks

This method is used to register FiddlerCore as a reverse proxy. It allows you to specify the settings for the reverse proxy, such as the client port, client protocol, remote host, remote protocol, and whether to preserve the host header.

RegisterAsSystemProxy()

Registers as the system proxy.

Declaration

cs-api-definition
T RegisterAsSystemProxy()

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>

SetUpstreamProxySettingsTo(ProxySettings)

Sets the proxy settings which FiddlerCore uses to find the upstream proxy.

Declaration

cs-api-definition
T SetUpstreamProxySettingsTo(ProxySettings proxySettings)

Parameters

proxySettings

ProxySettings

ProxySettings

Returns

T

IFiddlerCoreStartupSettingsBuilder<T, P>