Skip to main content
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://deno.land/x/oak@v10.6.0/headers.ts";

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

Returns

Promise<Record<string, string>>