Structs§
- Decision
Components - The primary output of a
PluginInstance
’s execution. Combines aDecision
and a list of tags together. - ForwardedIP
- Wraps an
IpAddr
representing the forwarded IP for the incoming request. - Plugin
- A singular detection plugin and provides the interface between WASM host and guest.
- Plugin
Instance - An instance of a
Plugin
, associated with aRequestContext
. - Plugin
Stdio - Wraps buffers to capture plugin stdio.
- Redis
Info - Wraps a Redis connection pool and a registry of predefined Lua scripts.
- RemoteIP
- Wraps an
IpAddr
representing the remote IP for the incoming request. - Request
Context - The RequestContext provides a store of information that needs to cross the plugin sandbox boundary.
- Script
Registry - A registry of predefined Lua scripts for execution within Redis.
Enums§
- Context
Instantiation Error - Returned when attempting to create a
RequestContext
fails. - Plugin
Execution Error - Returned when an attempt to execute a function within a plugin environment fails.
- Plugin
Instantiation Error - Returned when an attempt to instantiate a plugin fails.
- Plugin
Load Error - Returned when an attempt to load a plugin fails.