UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

7 lines (6 loc) 275 B
import { HttpResponse } from "@rjweb/uws"; import { LocalContext } from "../types/context"; /** * Write Important HTTP Meta like Status, Headers and Cookies * @since 8.3.0 */ export default function writeHTTPMeta(res: HttpResponse, ctx: LocalContext): Promise<() => void>;