Skip to main content

server

Function server 

Source
pub fn server() -> Option<CServer>
Expand description

Handle to the runtime’s server-action table, usable from any handler after registration — including client-side ones that don’t receive &dyn Server (UI event handlers, client tick). Server-world actions are no-ops client side, but networking (send_to_server) and similar client-safe calls work.