//! WASM modules system
//!
//! Provides pluggable request/response processing via WebAssembly.
//!
//! Modules can:
//! - Filter/modify requests before forwarding
//! - Filter/modify responses before returning
//! - Access request metadata (path, headers, method)
//! - Return early responses (block requests)
//! - Handle WebSocket events (ActionCable protocol)

mod runtime;
mod types;

pub use runtime::ModuleRuntime;
pub use runtime::{WsEventResult, WsEventType, WsPluginRuntime};
pub use types::{ModuleAction, RequestInfo, ResponseInfo};
