Module

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

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
type alias UnOfficalStatusCode
import { type UnOfficalStatusCode } from "https://dotland.deno.dev/x/hono@v4.1.5/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