pub struct TcpManifest {
pub preferred_port: Option<u16>,
pub direct_bind: Option<bool>,
}Expand description
TCP port preferences for standalone apps that bind their own port.
Consumed by the port registry (system/server/src/services/port_registry/)
at install time.
Fields§
§preferred_port: Option<u16>The TCP port the app would like to bind. Honored when free; otherwise the registry assigns the next free port from the pool (default 7000–7099). Absent → registry picks any free pool slot.
direct_bind: Option<bool>When true, the platform UI shell builds iframe URLs as direct LAN
connections to the assigned port rather than routing via the
/api/v2/node-apps/{name}/ui/ reverse-proxy. Intended only for apps
that must outlive a platform restart (e.g. OTA self-upgrade). Remote
users may see a degraded experience — owned by the consuming app’s UI,
not this spec (see specs/470-port-registry/spec.md Clarifications Q5b).
Trait Implementations§
Source§impl Clone for TcpManifest
impl Clone for TcpManifest
Source§fn clone(&self) -> TcpManifest
fn clone(&self) -> TcpManifest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more