Skip to main content

module_with_endpoints

Function module_with_endpoints 

Source
pub fn module_with_endpoints<P: ProcessManager>(
    registry: Arc<EndpointRegistry>,
) -> HostModule<P>
Expand description

The SSH host module resolving through registry: SSH_SERVE and SSH_CONNECT close over it (hand-built entries; the #[oxdock_func] macro only generates closers-over-nothing). Everything else reaches the same registry through its SSH_SERVER handle.