Modules§
Structs§
- Action
- Describes what to with the given <something> (frame), how to transform it and after what delay.
- Node
- Proxy
- Request
Frame - Request
Reaction - Request
Rule - A rule describing what actions should the proxy perform with the received request frame and on what conditions.
- Response
Frame - Response
Reaction - Response
Rule - A rule describing what actions should the proxy perform with the received response frame and on what conditions.
- Running
Proxy - A handle that can be used to stop the proxy or change the rules.
Enums§
- Condition
- Specifies when an associated Reaction will be performed.
Conditions are subject to logic, with
not()
,and()
andor()
convenience functions. - Doorkeeper
Error - Proxy
Error - Request
Opcode - Response
Opcode - Shard
Awareness - Specifies proxy’s behaviour regarding shard awareness.
- Worker
Error
Traits§
- Reaction
- Just a trait to unify API of both RequestReaction and ResponseReaction. As they are both analogous, I will describe them here.