Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Web Framework built on Web Standards
Very Popular
Go to Latest
type alias UnOfficalStatusCode
import { type UnOfficalStatusCode } from "https://deno.land/x/hono@v4.2.8/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