Commands
Here are the list of FacetScript commands to that help developers to write complex logic for processing the messages.
Command Category | Name |
---|---|
Lifecycle of FacetInstance | OnActivate, OnOpen, OnRequest, OnResponse, OnError, OnClose, OnDeactivate ReceiveActivate, ReceiveOpen, ReceiveRequest, ReceiveResponse, ReceiveError, ReceiveClose, ReceiveDeactivate
|
Temporary Cache | SetLocalData, AddLocalData, DelLocalData, SetProcessData, AddProcessData, DelProcessData, SetContextData, AddContextData, DelContextData, SetFacetData, AddFacetData, DelFacetData |
Conditional Statements | If, Select |
Control Loops | For |
Manipulate Request and Response | SetRequest, SaveRequest, PushRequest, PopRequest, SetResponse, SaveResponse, PushResponse, PopResponse |
Process Block | Process, ProcessKeyword, ProcessWith, Macro |
Scripting | Script, ScriptEngine, JexlScript, JavaScript |
Pipeline | DelegateRequest, DelegateResponse |
Tagging | SetServerId, SetClientId, SetSourceId |
Utility Functions | Log, Schedule |
Scoping | Span, Scope |