packages/docs/src/routes/api/qwik-city-middleware-cloudflare-pages/index.mdx
export declare function createQwikCity(opts: QwikCityCloudflarePagesOptions): (
request: PlatformCloudflarePages["request"],
env: PlatformCloudflarePages["env"] & {
ASSETS: {
fetch: (req: Request) => Response;
};
},
ctx: PlatformCloudflarePages["ctx"],
) => Promise<Response>;
Parameter
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td>opts
</td><td>QwikCityCloudflarePagesOptions
</td><td> </td></tr> </tbody></table>Returns:
(request: PlatformCloudflarePages['request'], env: PlatformCloudflarePages['env'] & { ASSETS: { fetch: (req: Request) => Response; }; }, ctx: PlatformCloudflarePages['ctx']) => Promise<Response>
<h2 id="platformcloudflarepages">PlatformCloudflarePages</h2>export interface PlatformCloudflarePages
Property
</th><th>Modifiers
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td> </td><td> </td><td>{ waitUntil: (promise: Promise<any>) => void; }
</td><td> </td></tr> <tr><td> </td><td> </td><td>Record<string, any>
</td><td>(Optional)
</td></tr> <tr><td> </td><td> </td><td>Request
</td><td> </td></tr> </tbody></table> <h2 id="qwikcitycloudflarepagesoptions">QwikCityCloudflarePagesOptions</h2>export interface QwikCityCloudflarePagesOptions extends ServerRenderOptions
Extends: ServerRenderOptions