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

x/kd_clients/core/WebApiClient.ts>WebApiClient#setHeader

Various types of HTTP clients for misc uses. This is used in the organization's infrastructure.
Go to Latest
method WebApiClient.prototype.setHeader
import { WebApiClient } from "https://deno.land/x/kd_clients@v0.0.5/core/WebApiClient.ts";

Sets an HTTP header with a name that matches the given name to the given value.

Parameters

name: string

The name of the header to set.

value: string

The value of the header to set.