This interface provides a value-export of the default network handle..
Types
use resource network
from wasi:sockets/network@0.2.0
An opaque resource that represents access to (a subset of) the network. This enables context-based security for networking. There is no need for this to map 1:1 to a physical network interface.
Functions
instance-network: func() -> network
Get a handle to the default network.
WIT
/// This interface provides a value-export of the default network handle..
interface instance-network {
use network.{network};
/// Get a handle to the default network.
instance-network: func() -> network;
}