Skip to main content
Module

x/oak/http_server_node.ts>ServerResponse

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Extremely Popular
Go to Latest
type alias ServerResponse
import { type ServerResponse } from "https://deno.land/x/oak@v15.0.0/http_server_node.ts";
definition: { destroy(error?: Error): void; end(callback?: () => void): void; setHeader(key: string, value: string): void; write(chunk: unknown, callback?: (err: Error | null) => void): void; writeHead(status: number, statusText?: string): void; }