Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/hono@v4.1.0/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