Skip to main content

Module actor

Module actor 

Source
Expand description

Who made a websocket RPC call, for the record of what was done.

The answer comes from the connection, never from the request: an agent is the one the connection registered as (bus:register, token-bound), the operator is a connection the CEF host proved is the AgentMux window (server::operator_proof), and a connection that is neither is Actor::Unproven, not the operator. Nothing in a request’s data names the actor.

Enums§

Actor

Functions§

actor_of
The actor of a call made on a connection with ctx. A connection registered as an agent is that agent whatever else it carries; the operator only with the host’s proof.