Skip to main content
Module

x/snelm/frameworks/interface.ts>RequestResponseInterface

Snelm: improved security middleware for deno web frameworks, derived from helmet for Node.
Latest
interface RequestResponseInterface
import { type RequestResponseInterface } from "https://deno.land/x/snelm@1.3.0/frameworks/interface.ts";

Methods

getRequestHeader(headerKey: string): string
getResponseHeader(headerKey: string): string
setResponseHeader(headerKey: string, headerValue: string): void
removeResponseHeader(headerKey: string): void