Skip to main content

Module call_mode

Module call_mode 

Source
Expand description

Call modes stamped by the daemon from the scope of a route.

Enums§

CallMode
The mode the daemon derives from a route’s scope, never from its request body.

Constants§

CALL_MODES_CAPABILITY
Declaring this in capabilities.provides promises that a module reads the call mode on every bind and handles classic, codemode and flow calls.

Functions§

derive_call_mode
Derive the mode solely from the daemon’s scope stamp. A run takes precedence over a flow; a plain scope or no scope is classic. This also supplies the fallback for readers receiving a bind from a daemon that predates call modes.