---
title: \@builder.io/qwik-city/middleware/vercel-edge API Reference
---

# [API](/api) &rsaquo; @builder.io/qwik-city/middleware/vercel-edge

## createQwikCity

```typescript
export declare function createQwikCity(
  opts: QwikCityVercelEdgeOptions,
): (request: Request) => Promise<Response>;
```

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

opts

</td><td>

[QwikCityVercelEdgeOptions](#qwikcityverceledgeoptions)

</td><td>

</td></tr>
</tbody></table>
**Returns:**

(request: Request) =&gt; Promise&lt;Response&gt;

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/src/middleware/vercel-edge/index.ts)

## PlatformVercel

```typescript
export interface PlatformVercel
```

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/src/middleware/vercel-edge/index.ts)

## QwikCityVercelEdgeOptions

```typescript
export interface QwikCityVercelEdgeOptions extends ServerRenderOptions
```

**Extends:** ServerRenderOptions

[Edit this section](https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/src/middleware/vercel-edge/index.ts)
