API โ€บ @qwik.dev/qwik-router/middleware/netlify-edge

createQwikCity

Warning: This API is now obsolete.

Use createQwikRouter instead. Will be removed in V3

createQwikCity: typeof createQwikRouter;

Edit this section

createQwikRouter

export declare function createQwikRouter(
  opts: QwikRouterNetlifyOptions,
): (request: Request, context: Context) => Promise<Response>;

Parameter

Type

Description

opts

QwikRouterNetlifyOptions

(request: Request, context: Context) => Promise<Response>

Edit this section

PlatformNetlify

export interface PlatformNetlify extends Partial<Omit<Context, 'next' | 'cookies'>>

Extends: Partial<Omit<Context, 'next' | 'cookies'>>

Edit this section

QwikCityNetlifyOptions

Warning: This API is now obsolete.

Use QwikRouterNetlifyOptions instead. Will be removed in V3

export type QwikCityNetlifyOptions = QwikRouterNetlifyOptions;

References: QwikRouterNetlifyOptions

Edit this section

QwikRouterNetlifyOptions

export interface QwikRouterNetlifyOptions extends ServerRenderOptions

Extends: ServerRenderOptions

Edit this section