CfWorkerRoute
Defined in: workers/workers.ts:6
A route that sends matching requests to a Worker.
Properties
Section titled “Properties”id:
string
Defined in: workers/workers.ts:8
The route’s identifier.
pattern
Section titled “pattern”pattern:
string
Defined in: workers/workers.ts:10
The URL pattern the route matches.
script
Section titled “script”script:
string|null
Defined in: workers/workers.ts:12
The name of the Worker script, or null when the route is bound to none.