Transport Factory
Factory for creating transport connections.
Implement this interface to provide custom transport implementations for SSH connections. The library provides KtorTcpTransportFactory as a default TCP implementation.
Example custom implementation:
class MyTransportFactory : TransportFactory {
override suspend fun create(): Transport {
return MyCustomTransport()
}
}Content copied to clipboard