UNPKG

@adonisjs/http-server

Version:

AdonisJS HTTP server with support packed with Routing and Cookies

7 lines (6 loc) 256 B
import type { HttpContext } from '../../http_context/main.js'; /** * Writes the response to the socket. The "finish" method can * raise error when unable to serialize the response. */ export declare function writeResponse(ctx: HttpContext): () => void;