Package io.ktor.util.network

Types

NetworkAddress

expect class NetworkAddress

Represents remote endpoint with hostname and port.

Exceptions

UnresolvedAddressException

expect class UnresolvedAddressException : 
    IllegalArgumentException

Type Aliases

NetworkAddress

actual typealias NetworkAddress = SocketAddress

Extensions for External Classes

java.net.SocketAddress

Functions

NetworkAddress

expect fun NetworkAddress(
    hostname: String,
    port: Int
): NetworkAddress