Back to Pocketbase

Interface serve

static/jsvm/interfaces/apis.serve.html

latest711 B
Original Source

Interface serve

Hierarchy

  • serve

  • serve(app, config): void

Serve starts a new app web server.

NB! The app should be bootstrapped before starting the web server.

Example:

app.Bootstrap() apis.Serve(app, apis.ServeConfig{ HttpAddr: "127.0.0.1:8080", ShowStartBanner: false, })Copy

Parameters

app: excludeHooks<App>
config: ServeConfig

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc