WasiNetworkEndpoint

data class WasiNetworkEndpoint(val host: String, val port: Int)

One exact network destination. Host wildcards, URL-shaped values, and ambiguous IP literals are rejected.

Port 0 is accepted for raw-socket local binds requesting an ephemeral port. HTTP grants must use an explicit port from 1 through 65535.

Constructors

Link copied to clipboard
constructor(host: String, port: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val port: Int