Skip to main content

default_actor

Function default_actor 

Source
pub fn default_actor(protocol: &ServiceProtocol) -> Option<&'static str>
Expand description

The default actor a handler inherits when it omits by, by protocol (ADR Q5). HTTP and WebSocket have no safe default — by is required there — and neither has call (#3891, superseding ADR 0082’s Caller default).