Table of Contents

Class EdgeTunnelOptions

Namespace
OpenShell.Edge
Assembly
OpenShell.Sdk.dll

Settings for EdgeTunnelProxy.

public sealed record EdgeTunnelOptions : IEquatable<EdgeTunnelOptions>
Inheritance
EdgeTunnelOptions
Implements
Inherited Members

Properties

CloseTimeout

How long DisposeAsync() waits for open connections before cutting them. Default 5 s.

public TimeSpan CloseTimeout { get; init; }

Property Value

TimeSpan

ConfigureWebSocket

Customizes the default ClientWebSocket (TLS, proxy, certificates).

public Action<ClientWebSocketOptions>? ConfigureWebSocket { get; init; }

Property Value

Action<ClientWebSocketOptions>

ConnectTimeout

Timeout for establishing each WebSocket. Default 10 s.

public TimeSpan ConnectTimeout { get; init; }

Property Value

TimeSpan

Connector

Replaces the WebSocket dialer entirely.

public WebSocketConnector? Connector { get; init; }

Property Value

WebSocketConnector

Logger

Logger for connection lifecycle events. Credentials are never logged.

public ILogger? Logger { get; init; }

Property Value

ILogger