Module

x/oak/headers.ts>readHeaders

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

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

Returns

Promise<Record<string, string>>