Skip to main content

get_context

Function get_context 

pub fn get_context() -> Option<ServerContext>
Available on crate feature ttrpc only.
Expand description

The current call’s ServerContext, or None when called outside a running method handler (e.g. from an independently spawned task).