Delegate WebSocketConnector
Opens the WebSocket leg of an EdgeTunnelProxy connection.
public delegate ValueTask<WebSocket> WebSocketConnector(Uri url, IReadOnlyDictionary<string, string> headers, CancellationToken cancellationToken)
Parameters
urlUriThe
ws://orwss://tunnel URL.headersIReadOnlyDictionary<string, string>Edge authentication headers to send on the upgrade request.
cancellationTokenCancellationTokenCancels the connect.