API › @qwik.dev/router/middleware/aws-lambda
createQwikCity
Warning: This API is now obsolete.
Use
createQwikRouterinstead. Will be removed in V3
createQwikCity: typeof createQwikRouter;
createQwikRouter
export declare function createQwikRouter(
opts: AwsOpt,
): QwikRouterAwsLambdaMiddleware;
Parameter | Type | Description |
|---|---|---|
opts | AwsOpt |
Returns:
PlatformAwsLambda
export interface PlatformAwsLambda extends Object
Extends: Object
QwikCityAwsLambdaOptions
Warning: This API is now obsolete.
Use
QwikRouterAwsLambdaOptionsinstead. Will be removed in V3
export type QwikCityAwsLambdaOptions = QwikRouterAwsLambdaOptions;
References: QwikRouterAwsLambdaOptions
QwikRouterAwsLambdaMiddleware
export interface QwikRouterAwsLambdaMiddleware
Property | Modifiers | Type | Description |
|---|---|---|---|
fixPath | (pathT: string) => string | ||
handle | (req: any, res: any) => void | ||
notFound | (req: IncomingMessage | Http2ServerRequest, res: ServerResponse, next: (e?: any) => void) => Promise<void> | ||
router | (req: IncomingMessage | Http2ServerRequest, res: ServerResponse, next: NodeRequestNextFunction) => Promise<void> | ||
staticFile | (req: IncomingMessage | Http2ServerRequest, res: ServerResponse, next: (e?: any) => void) => Promise<void> |
QwikRouterAwsLambdaOptions
export interface QwikRouterAwsLambdaOptions extends ServerRenderOptions
Extends: ServerRenderOptions