proxy_bridge
Module: proxy_bridge
Section titled “Module: proxy_bridge”Contents
Section titled “Contents”Structs
ProxyBridgeInput- Lib-level input for [execute_proxy_bridge]. The CLI layer builds this
Functions
execute_proxy_bridge- Run the internal sandbox bridge process.
firma_run::proxy_bridge::ProxyBridgeInput
Section titled “firma_run::proxy_bridge::ProxyBridgeInput”Struct
Lib-level input for [execute_proxy_bridge]. The CLI layer builds this
from its clap-derived args struct.
Fields:
listen: std::net::SocketAddr- TCP listen address reachable by the sandboxed agent process.upstream_uds: std::path::PathBuf- Upstream host-side Unix socket path exposed byfirma run.
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Clone
fn clone(self: &Self) -> ProxyBridgeInput
firma_run::proxy_bridge::execute_proxy_bridge
Section titled “firma_run::proxy_bridge::execute_proxy_bridge”Function
Run the internal sandbox bridge process.
The bridge accepts HTTP proxy traffic over TCP (inside the sandbox) and relays bytes bidirectionally to a host-side Unix socket endpoint.
Errors
Section titled “Errors”Returns an error if the bridge cannot bind/listen or if the platform does not support Unix sockets.
fn execute_proxy_bridge(args: &ProxyBridgeInput) -> Result<i32, crate::error::RunError>