EngineConnectorConfig

interface EngineConnectorConfig

Represents a connector configuration.

Properties

Link copied to clipboard
abstract val host: String

The network interface this host binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.

Link copied to clipboard
abstract val port: Int

The port this application should be bound to.

Link copied to clipboard
abstract val type: ConnectorType

Type of the connector, e.g HTTP or HTTPS.

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
expect fun EngineConnectorConfig.withPort(otherPort: Int): EngineConnectorConfig

Returns new instance of EngineConnectorConfig based on this with modified port

actual fun EngineConnectorConfig.withPort(otherPort: Int): EngineConnectorConfig

Returns new instance of EngineConnectorConfig based on this with modified port

actual fun EngineConnectorConfig.withPort(otherPort: Int): EngineConnectorConfig

Returns new instance of EngineConnectorConfig based on this with modified port