Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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://deno.land/x/hono@v4.3.10/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