Class BaseTunnel
Abstract ITunnel class with CloseTunnel implemented in a thread safe way
Inheritance
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public abstract class BaseTunnel : Object, ITunnel
Constructors
BaseTunnel()
Declaration
protected BaseTunnel()
Properties
EgressByteCount
Total number of bytes sent
Declaration
public abstract long EgressByteCount { get; protected set; }
Property Value
System.
|
Implements
IngressByteCount
Total number of bytes received
Declaration
public abstract long IngressByteCount { get; protected set; }
Property Value
System.
|
Implements
IsOpen
Returns true if tunnel is still open
Declaration
public bool IsOpen { get; }
Property Value
System.
|
Implements
Methods
CloseTunnelAsync()
Closes the tunnel and nulls any references that it used
Declaration
public Task CloseTunnelAsync()
Returns
System. 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
System. Task that completes when tunnel is no longer open |
MarkClosed()
Sets bIsOpen to 0
Declaration
protected bool MarkClosed()
Returns
System. If bIsOpen was set to 0 before this call, returns false. Else, returns true |
MarkOpened()
Sets bIsOpen to 1
Declaration
protected bool MarkOpened()
Returns
System. If bIsOpen was set to 1 before this call, returns false. Else, returns true |