x/oak/range.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
import * as mod from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/range.ts";

Classes

A class that takes a file (either a Deno.FsFile or Uint8Array) and bytes and streams the ranges as a multi-part encoded HTTP body.

Functions

Determine, by the value of an If-Range header, if a Range header should be applied to a request, returning true if it should or otherwise false.