HttpMethod
HTTP methods the handler dispatches.
HTTP methods the handler dispatches.
Import#
ts
import type { HttpMethod } from "@shadow-js/dusk/server";
Signature#
ts
type HttpMethod = "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS"