cc-lb-plugin-api 0.1.0

cc-lb plugin API — public traits and types for built-in plugin authoring.
Documentation

Public plugin contract for the cc-lb proxy lifecycle.

The core proxy owns the wire-level server loop and drives requests through parse -> authenticate -> route -> shape -> sign -> relay_stream. This crate defines the stable types and object-safe traits used at those boundaries: authentication plugins identify a [Principal], router plugins choose an [Upstream] and [UpstreamDialect], dialects build a [ShapedRequest], signers consume it into a [SignedRequest], and the core relays the signed request while emitting [ObserveEvent] values to observability hooks.

The crate deliberately uses http, bytes, and url types instead of exposing the server's transport implementation. Request body validation, semantic JSON checks, and concrete HTTP client behavior live in downstream crates, not in this API contract.