Skip to main content
Module

x/oak_commons

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕
Very Popular
Go to Latest
Index
cookie_map.ts

Provides a iterable map interfaces for managing cookies server side.

deps.ts
http_errors.ts

A collection of HTTP errors and utilities.

method.ts

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

server_sent_event.ts

Provides ServerSentEvent and ServerSentEventStreamTarget which provides an interface to send server sent events to a browser using the DOM event model.

status.ts

Contains the STATUS_CODE object which contains standard HTTP status codes and provides several type guards for handling status codes with type safety.