Interface
ITunnel

Interface for the WebSocket and CONNECT Tunnel classes

Definition

Namespace:Fiddler

Assembly:FiddlerCore.dll

Syntax:

cs-api-definition
public interface ITunnel

Properties

EgressByteCount

Total number of bytes sent

Declaration

cs-api-definition
long EgressByteCount { get; }

Property Value

long

IngressByteCount

Total number of bytes received

Declaration

cs-api-definition
long IngressByteCount { get; }

Property Value

long

IsOpen

Returns true if tunnel is still open

Declaration

cs-api-definition
bool IsOpen { get; }

Property Value

bool

Methods

CloseTunnelAsync()

Closes the tunnel and nulls any references that it used

Declaration

cs-api-definition
Task CloseTunnelAsync()

Returns

Task

Task that completes when tunnel is no longer open