method RequestResponseInterface.setResponseHeader
RequestResponseInterface.setResponseHeader(
headerKey: string,
headerValue: string,
): void

This function sets the value of the specified response header.

Parameters

headerKey: string
headerValue: string

Return Type

void

Usage

import { type RequestResponseInterface } from "types/mod.ts";