🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
9
node_modules/astro/dist/vite-plugin-astro-server/response.d.ts
generated
vendored
Normal file
9
node_modules/astro/dist/vite-plugin-astro-server/response.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/// <reference types="node" />
|
||||
import type http from 'node:http';
|
||||
import type { ErrorWithMetadata } from '../core/errors/index.js';
|
||||
import type { ModuleLoader } from '../core/module-loader/index';
|
||||
export declare function handle404Response(origin: string, req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
|
||||
export declare function handle500Response(loader: ModuleLoader, res: http.ServerResponse, err: ErrorWithMetadata): Promise<void>;
|
||||
export declare function writeHtmlResponse(res: http.ServerResponse, statusCode: number, html: string): void;
|
||||
export declare function writeWebResponse(res: http.ServerResponse, webResponse: Response): Promise<void>;
|
||||
export declare function writeSSRResult(webRequest: Request, webResponse: Response, res: http.ServerResponse): Promise<void>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue