Class FiddlerCoreStartupSettingsBuilder<T, P>
A generic builder class for Fiddler
Inheritance
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public abstract class FiddlerCoreStartupSettingsBuilder<T, P> : Object, IFiddlerCoreStartupSettingsBuilder<T, P> where T : FiddlerCoreStartupSettingsBuilder<T, P> where P : FiddlerCoreStartupSettings
Type Parameters
Fields
fiddlerCoreStartupSettings
The FiddlerCoreStartupSettings instance being built.
Declaration
protected P fiddlerCoreStartupSettings
Field Value
P
|
t
Reference to this. Return this field instead of (T)this in your methods in order to avoid multiple casting.
Declaration
protected readonly T t
Field Value
T
|
Methods
AllowRemoteClients()
Accepts requests from remote computers or devices. WARNING: Security Impact
Declaration
public virtual T AllowRemoteClients()
Returns
Implements
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
public P Build()
Returns
P
The instance of FiddlerCoreStartupSettings. |
Implements
CaptureFTP()
Registers FiddlerCore as the FTP proxy.
Declaration
public virtual T CaptureFTP()
Returns
Implements
CaptureLocalhostTraffic()
Passes the <-loopback> token to the proxy exception list.
Declaration
public virtual T CaptureLocalhostTraffic()
Returns
Implements
ChainToUpstreamGateway()
Forwards requests to any upstream gateway.
Declaration
public virtual T ChainToUpstreamGateway()
Returns
Implements
DecryptSSL()
Decrypts HTTPS Traffic.
Declaration
public virtual T DecryptSSL()
Returns
Implements
EnableHTTP2()
Enable support for capturing HTTP/2 sessions.
Declaration
public virtual T EnableHTTP2()
Returns
HookUsingPACFile()
Sets connections to use a self-generated PAC File.
Declaration
public virtual T HookUsingPACFile()
Returns
Implements
ListenOnPort(UInt16)
The port on which the FiddlerCore app will listen on. If 0, a random port will be used.
Declaration
public virtual T ListenOnPort(ushort port)
Parameters
System. The port on which the FiddlerCore app should listen on. |
Returns
Implements
MonitorAllConnections()
Sets all connections to use FiddlerCore, otherwise only the Local LAN is pointed to FiddlerCore.
Declaration
public virtual T MonitorAllConnections()
Returns
Implements
RegisterAsSystemProxy()
Registers as the system proxy.
Declaration
public virtual T RegisterAsSystemProxy()
Returns
Implements
SetUpstreamProxySettingsTo(ProxySettings)
Sets the proxy settings which FiddlerCore uses to find the upstream proxy.
Declaration
public virtual T SetUpstreamProxySettingsTo(ProxySettings proxySettings)
Parameters
Proxy |
Returns
Implements
UseClientTlsProvider(IClientTlsConnectionProvider)
Sets the custom client TLS provider for Fiddler. The provider will be used to authenticate an existing connection and return a stream to read/write data from/to it.
Declaration
public virtual T UseClientTlsProvider(IClientTlsConnectionProvider customClientTlsProvider)
Parameters
IClient An IClient |