Skip to main content
Module

x/oak/forwarded.ts>parse

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
function parse
import { parse } from "https://deno.land/x/oak@v12.5.0/forwarded.ts";

Parse the Forwarded header field value into an array of objects. If the value is not parsable, undefined is returned.

Parameters

value: string

The header field value.

Returns

Record<string, string>[] | undefined