Represents a base HTTP route.
The HTTP method used by the route (e.g., GET, POST).
The URL path of the route.
import { HttpBase } from "./httpBase.js";export class MyRoute extends HttpBase { METHOD = "GET"; ROUTE_URL = "/my-route"; Copy
import { HttpBase } from "./httpBase.js";export class MyRoute extends HttpBase { METHOD = "GET"; ROUTE_URL = "/my-route";
Represents a base HTTP route.