Skip to main content
Module

x/keywork/http/functions/mod.ts

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Go to Latest
import * as keywork from "https://deno.land/x/keywork@v6.0.1/http/functions/mod.ts";

Variables

Determines if the given HTTP status status is a client error.

Determines if the given HTTP status code is informational.

Determines if the given HTTP status status is a redirection.

Determines if the given HTTP status status is a server error.

Determines if the given HTTP status code is successful.

Functions

Infers the appropriate Response constructor for the given ResponseLike body.

Clones a given Response as a mutable instance.

Checks if a given MIME-type is compressible.

Checks if the given object is an instance of Request

Checks if the given object is an instance of Response

Checks if the given object is shaped like a Request

Type Aliases

An object that has a url property.

Either a full Response, or a more primitive value to be processed.