PortForwarder

Handle to an active port forwarding.

For local and dynamic forwarding, boundHost and boundPort are the local bind address. For remote forwarding, they are the remote bind address the server is listening on.

Properties

Link copied to clipboard
abstract val boundHost: String
Link copied to clipboard
abstract val boundPort: Int
Link copied to clipboard
abstract val isActive: Boolean

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
abstract suspend fun stop()