@microsoft/dev-tunnels-connections
Version:
Tunnels library for Visual Studio tools
18 lines • 928 B
TypeScript
import { ChannelOpenConfirmationMessage, SshDataReader, SshDataWriter } from "@microsoft/dev-tunnels-ssh";
/**
* Extends port-forward channel open confirmation messages to include additional properties
* required by the tunnel relay.
*/
export declare class PortRelayConnectResponseMessage extends ChannelOpenConfirmationMessage {
/**
* Gets or sets a value indicating whether end-to-end encryption is enabled for the
* connection.
* The tunnel client may request E2E encryption via `isE2EEncryptionRequested`. Then relay
* or host may enable E2E encryption or not depending on capabilities and policies, and the
* resulting enabled status is returned to the client via this property.
*/
isE2EEncryptionEnabled: boolean;
protected onWrite(writer: SshDataWriter): void;
protected onRead(reader: SshDataReader): void;
}
//# sourceMappingURL=portRelayConnectResponseMessage.d.ts.map