Skip to main content

run_net_handler

Function run_net_handler 

Source
pub async fn run_net_handler(
    net_rx: Receiver<NetRequest>,
    manager: ConnectionManager,
)
Expand description

Handle network requests (TCP and TLS) from Python code.

Owns a ConnectionManager and processes TCP/TLS requests received through the channel. This allows async network operations to work with wasmtime’s synchronous accessor pattern.