Expand description
Classy - an asynchronous policy development kit
An abstraction layer over the proxy_wasm framework that transforms the event oriented framework into an async/await model.
Features
experimental_metrics: USE AT OWN RISK: experimental items that may change without notice. Exposes the api for host metrics.
Re-exports§
pub use extract::config::Configuration;pub use plugin::Plugin;pub use proxy_wasm_stub as proxy_wasm;
Modules§
- bootstrap
- The entrypoint to configure your function as a filter.
- client
- HTTP client to make requests with.
- event
- Abstractions of the proxy wasm underlying events.
- extract
- Extractors are used to extract data from the context.
- grpc
- Functionality for managing asynchronous gRPC calls.
- hl
- The PDK High Level Framework.
- middleware
- Utils for Injecting code execution at specific events during the execution chain.
- plugin
- A wrapper to bundle the logic that will be part of the policy.
- shared_
data - A layer to handle storing in a shared memory across the different workers of a host.
- stream
- Utils to read key/value data from a given the current context.
- timer
- Timer and clock management for async tasks.
- user_
agent - User agent calculation and injection for HTTP calls.
Traits§
- Entrypoint
- Trait that defines the entrypoint for a
Plugin.
Type Aliases§
- BoxError
- Wrapper for a generic error.