Skip to main content

expand_orpc

Function expand_orpc 

Source
pub fn expand_orpc(args: OrpcArgs, func: ItemFn) -> TokenStream
Expand description

Generate the full expansion for #[orpc(method, path)] async fn handler(...).

Returns the original function unchanged plus all inventory registrations.