Skip to main content

server_function

Attribute Macro server_function 

Source
#[server_function]
Expand description

Attribute macro to register a function as an RPC server handler. This macro generates a function that can handle RPC requests with proper type safety and registers it with the server function registry.