@pumpkin-plugins/upnpumpkin API / platform/wasi-network / Sockets
Interface: Sockets
Defined in: packages/upnpumpkin/src/platform/wasi-network.ts:13
The host resources the adapter talks to. plugin.ts passes the ones WASI gives a plugin; the tests pass fakes, which is the only way to try what the adapter does with a socket.
Methods
instance()
instance():
Network
Defined in: packages/upnpumpkin/src/platform/wasi-network.ts:15
The network the host routes over.
Returns
Network