Expand description
The record of what each connection did: one line in the audit log for every
call of a state-changing websocket RPC, whether it was done or refused, saying
who made it (super::actor), what it acted on, and how it went.
It is made in one place, the engine’s dispatch, so a handler cannot forget it
and a new command is recorded until someone decides it is not
(super::action_commands, with a test that every registered command is
decided). It names the actor, the command, the agent or pane it targets and
the identifier it acts on; it never holds a request’s contents.
Structs§
- Action
Record - One recorded call.
- Target
- What a call acted on, read from the request’s identifying fields only.
Functions§
- after_
call - Records a finished call of
command, if it is one that changes state. - outcome_
of_ response - How a call went, from what the handler answered: a command that answers
ok: falsedid not do what was asked. - target_
of - What
data(a request’s top-level fields) names.