Skip to main content

rpc

Attribute Macro rpc 

Source
#[rpc]
Expand description

#[rcall::protocol] triat ServerProtocol { #[rcall::rpc(1)] fn hello_from_client(&self, msg: &str); #[rcall::rcp(2)] fn login(&self, name: &str, password: &str); }