Back to Qwik

@builder.io/qwik-city/vite/bun-server API Reference

packages/docs/src/routes/api/qwik-city-vite-bun-server/index.mdx

1.7.11.4 KB
Original Source

API › @builder.io/qwik-city/vite/bun-server

<h2 id="bunserveradapter">bunServerAdapter</h2>

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

typescript
export declare function bunServerAdapter(opts?: bunServerAdapterOptions): any;
<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

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

opts

</td><td>

bunServerAdapterOptions

</td><td>

(Optional)

</td></tr> </tbody></table>

Returns:

any

Edit this section

<h2 id="bunserveradapteroptions">bunServerAdapterOptions</h2>

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

typescript
export interface bunServerAdapterOptions extends ServerAdapterOptions

Extends: ServerAdapterOptions

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

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

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

name?

</td><td> </td><td>

string

</td><td>

(ALPHA) (Optional)

</td></tr> </tbody></table>

Edit this section