Module

x/oak/http_server_node.ts>ServerResponse

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
type alias ServerResponse
import { type ServerResponse } from "https://dotland.deno.dev/x/oak@v17.1.3/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; }