Skip to main content
Module

x/texa/src/structure/Response.ts>Response#set

A Deno web framework inspired by Oak and Express. Built-in support for WebSockets, middleware and routing.
Latest
method Response.prototype.set
import { Response } from "https://deno.land/x/texa@0.8.1/src/structure/Response.ts";

Alias: .headers.set(key: string, value: HeaderValue)

Parameters

key: string

Returns

this

Response object.