RouteConfig
Defined in: types.ts:56
Route matching configuration
Properties
Section titled “Properties”bridge?
Section titled “bridge?”
optionalbridge:Bridge<FrontendAdapter<unknown,unknown,unknown>>
Defined in: types.ts:76
Optional bridge to use (overrides default)
frontend
Section titled “frontend”frontend:
FrontendAdapter
Defined in: types.ts:71
Frontend adapter to use for this route
methods?
Section titled “methods?”
optionalmethods:string[]
Defined in: types.ts:66
HTTP methods to match (default: [‘POST’])
path:
string
Defined in: types.ts:61
Path pattern to match (supports simple wildcards) Examples: ‘/v1/chat/completions’, ‘/v1/messages’, ‘/v1/*’