Skip to content

HttpMethod

HttpMethod = "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS"

Defined in: src/http/types.ts:7

Shared HTTP types. Kept small and backend-agnostic: the Route DSL works only with these shapes, and the different backends (Fastify, BunServe, Express) translate to/from their native APIs.