API βΊ @builder.io/qwik-city/middleware/netlify-edge
createQwikCity
export declare function createQwikCity(
opts: QwikCityNetlifyOptions,
): (request: Request, context: Context) => Promise<Response>;
Parameter | Type | Description |
---|---|---|
opts | QwikCityNetlifyOptions |
Returns:
(request: Request, context: Context) => Promise<Response>
PlatformNetlify
export interface PlatformNetlify extends Partial<Omit<Context, 'next' | 'cookies'>>
Extends: Partial<Omit<Context, 'next' | 'cookies'>>
QwikCityNetlifyOptions
export interface QwikCityNetlifyOptions extends ServerRenderOptions
Extends: ServerRenderOptions