shelf_openrouter library
Fast and extensible routing for the shelf ecosystem.
Classes
-
Node<
T> -
A trie node that can hold a value of type
T
. -
OpenRouter<
T> - A simple and extensible trie-like router for handling HTTP requests.
-
RouterEntry<
T> - Represents a registered value in the OpenRouter trie router.
- ShelfOpenRouter
- Http router that can be integrated with shelf which internally uses OpenRouter.
- ShelfOpenRouterEntry
- Contains the handler function and middleware for a route.