Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/oak@v17.1.2/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; }