packages/docs/src/routes/api/qwik-city-middleware-aws-lambda/index.mdx
export declare function createQwikCity(opts: AwsOpt): {
fixPath: (pathT: string) => string;
router: (
req: import("http").IncomingMessage | import("http2").Http2ServerRequest,
res: import("http").ServerResponse<import("http").IncomingMessage>,
next: import("@builder.io/qwik-city/middleware/node").NodeRequestNextFunction,
) => Promise<void>;
staticFile: (
req: import("http").IncomingMessage | import("http2").Http2ServerRequest,
res: import("http").ServerResponse<import("http").IncomingMessage>,
next: (e?: any) => void,
) => Promise<void>;
notFound: (
req: import("http").IncomingMessage | import("http2").Http2ServerRequest,
res: import("http").ServerResponse<import("http").IncomingMessage>,
next: (e: any) => void,
) => Promise<void>;
handle: (req: any, res: any) => void;
};
Parameter
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td>opts
</td><td>AwsOpt
</td><td> </td></tr> </tbody></table>Returns:
{ fixPath: (pathT: string) => string; router: (req: import("http").IncomingMessage | import("http2").Http2ServerRequest, res: import("http").ServerResponse<import("http").IncomingMessage>, next: import("@builder.io/qwik-city/middleware/node").NodeRequestNextFunction) => Promise<void>; staticFile: (req: import("http").IncomingMessage | import("http2").Http2ServerRequest, res: import("http").ServerResponse<import("http").IncomingMessage>, next: (e?: any) => void) => Promise<void>; notFound: (req: import("http").IncomingMessage | import("http2").Http2ServerRequest, res: import("http").ServerResponse<import("http").IncomingMessage>, next: (e: any) => void) => Promise<void>; handle: (req: any, res: any) => void; }
<h2 id="platformawslambda">PlatformAwsLambda</h2>export interface PlatformAwsLambda extends Object
Extends: Object
<h2 id="qwikcityawslambdaoptions">QwikCityAwsLambdaOptions</h2>export interface QwikCityAwsLambdaOptions extends ServerRenderOptions
Extends: ServerRenderOptions