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

std/http/unstable_method.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.207.0/http/unstable_method.ts";

Contains the constant HTTP_METHODS and the type HttpMethod and the type guard isHttpMethod for working with HTTP methods with type safety.

Variables

A constant array of common HTTP methods.

Functions

A type guard that determines if a value is a valid HTTP method.

Type Aliases

A type representing string literals of each of the common HTTP method.