UNPKG

@gati-framework/runtime

Version:

Gati runtime execution engine for running handler-based applications

19 lines 547 B
/** * @module runtime/response * @description Response object factory for Gati framework */ import type { Response, ResponseOptions } from './types/response.js'; /** * Create a Response object from ResponseOptions * * @param options - Response creation options * @returns Response object * * @example * ```typescript * const res = createResponse({ raw: serverResponse }); * res.status(200).json({ ok: true }); * ``` */ export declare function createResponse(options: ResponseOptions): Response; //# sourceMappingURL=response.d.ts.map