WasiNetworkPolicy

class WasiNetworkPolicy(httpEndpoints: Set<WasiHttpNetworkEndpoint> = emptySet(), rawSocketEndpoints: Set<WasiNetworkEndpoint> = emptySet())

Exact network capabilities for KotlinWasiPreview3.

Empty sets deny all networking. HTTP scheme, canonical host, and port are matched exactly; raw socket grants are independent.

Constructors

Link copied to clipboard
constructor(httpEndpoints: Set<WasiHttpNetworkEndpoint> = emptySet(), rawSocketEndpoints: Set<WasiNetworkEndpoint> = emptySet())

Types

Link copied to clipboard
object Companion

Properties