Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/ext/fetch/lib.deno_fetch.d.ts>Headers#append

A modern runtime for JavaScript and TypeScript.
Go to Latest
method Headers.prototype.append
import { Headers } from "https://deno.land/x/deno@v1.30.2/ext/fetch/lib.deno_fetch.d.ts";

Appends a new value onto an existing header inside a Headers object, or adds the header if it does not already exist.

Parameters

name: string
value: string