Attribute Macro hrpc::server::prelude::handler

source · []
#[handler]
Expand description

An attribute macro that turns an async fn into a hRPC handler function.

You should import either hrpc::server::prelude or hrpc::make_handler to be able to use this macro properly.