x/oak/headers.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
function readHeaders
import { readHeaders } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/headers.ts?s=readHeaders";

Asynchronously read the headers out of body request and resolve with them as a Headers object.

Returns

Promise<Record<string, string>>[src]