ClassBaseTunnel
Abstract ITunnel class with CloseTunnel implemented in a thread safe way
Definition
Namespace:Fiddler
Assembly:FiddlerCore.dll
Syntax:
public abstract class BaseTunnel : ITunnel
Inheritance: objectBaseTunnel
Derived Classes:
Implements:
Inherited Members
Constructors
BaseTunnel()
Declaration
protected BaseTunnel()
Properties
EgressByteCount
Total number of bytes sent
Declaration
public abstract long EgressByteCount { get; protected set; }
Property Value
Implements
IngressByteCount
Total number of bytes received
Declaration
public abstract long IngressByteCount { get; protected set; }
Property Value
Implements
Methods
CloseTunnelAsync()
Closes the tunnel and nulls any references that it used
Declaration
public Task CloseTunnelAsync()
Returns
Task that completes when tunnel is no longer open
Implements
DoCloseTunnelAsync()
Actually closes the tunnel and nulls any references that it used
Declaration
public abstract Task DoCloseTunnelAsync()
Returns
Task that completes when tunnel is no longer open
MarkClosed()
Sets bIsOpen to 0
Declaration
protected bool MarkClosed()
Returns
If bIsOpen was set to 0 before this call, returns false. Else, returns true
MarkOpened()
Sets bIsOpen to 1
Declaration
protected bool MarkOpened()
Returns
If bIsOpen was set to 1 before this call, returns false. Else, returns true