Extend this class to create handlers for specific routes. By default, all HTTP methods
throw a 405 Method Not Allowed error. Override the methods you want to support.
Response customization:
Use this.response to modify status, statusText, or headers before returning data
Return a Response object directly for full control
Base class for route handlers in WorkerRouter
Extend this class to create handlers for specific routes. By default, all HTTP methods throw a 405 Method Not Allowed error. Override the methods you want to support.
Response customization:
this.responseto modify status, statusText, or headers before returning dataResponseobject directly for full controlExample