Module

x/hono/utils/http-status.ts>UnOfficalStatusCode

Web Framework built on Web Standards
Extremely Popular
Go to Latest
type alias UnOfficalStatusCode
import { type UnOfficalStatusCode } from "https://dotland.deno.dev/x/hono@v4.2.6/utils/http-status.ts";

UnOfficalStatusCode can be used to specify an informal status code.

Examples

Example 1

app.get('/', (c) => {
  return c.text("hono is cool", 666 as UnOfficalStatusCode)
})
definition: -1