SSHTransport constructor
SSHTransport(
- bool server, {
- Identity identity,
- Uri hostport,
- bool compress,
- List<
Forward> forwardLocal, - List<
Forward> forwardRemote, - VoidCallback disconnected,
- ResponseCallback response,
- StringCallback print,
- StringCallback debugPrint,
- StringCallback tracePrint,
- SocketInterface socket,
- Random random,
- SecureRandom secureRandom,
Implementation
SSHTransport(this.server,
{this.identity,
this.hostport,
this.compress,
this.forwardLocal,
this.forwardRemote,
this.disconnected,
this.response,
this.print,
this.debugPrint,
this.tracePrint,
this.socket,
this.random,
this.secureRandom}) {
random ??= Random.secure();
}