Expand description
Server wiring that registers gateway routes and holds route state.
Re-exports§
pub use crate::objects::GatewayRequest;pub use crate::objects::GatewayResponse;pub use crate::objects::GatewayResponseValue;
Structs§
- Gateway
Route - A single registered route: an HTTP method, a path matcher, and a handler.
- Gateway
Route State - Shared, cloneable state threaded into every route handler.
- Gateway
Routes - A route table paired with the state handlers dispatch against.
- Gateway
Routes Value - A
GatewayRoutestable wrapped as a runtimeObject.
Functions§
- configure_
routes - Returns the full gateway route table backed by fresh in-memory state.
- configure_
routes_ with_ state - Returns the full gateway route table sharing the supplied
state. - health_
ref - Returns the
Refnaming the gateway health endpoint (openai-gateway/health).