Function wasmer_wasix::syscalls::wasix::port_bridge::port_bridge

source ·
pub fn port_bridge<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    network: WasmPtr<u8, M>,
    network_len: M::Offset,
    token: WasmPtr<u8, M>,
    token_len: M::Offset,
    security: Streamsecurity,
) -> Result<Errno, WasiError>
Expand description

§port_bridge()

Securely connects to a particular remote network

§Parameters

  • network - Fully qualified identifier for the network
  • token - Access token used to authenticate with the network
  • security - Level of encryption to encapsulate the network connection with