zibri
    Preparing search index...

    Class ZibriApplication

    A Zibri application.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    options: FullZibriApplicationOptions

    The options of which the application was build.

    Accessors

    Methods

    • Initializes the app.

      Parameters

      • H: typeof Handlebars

        The global handlebars instance, needed to provide some helpers used in templating.

      Returns Promise<void>

    • Starts on the given port.

      Parameters

      • port: number

        The port to start on.

      Returns Promise<void>

      When the app has already been started.

    • Parameters

      • handler: RequestHandler

      Returns Express

    • Parameters

      • ...handlers: RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>[]

      Returns void

    • Parameters

      • path: `/${string}`
      • ...handlers: RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>[]

      Returns void

    • Parameters

      • path: `/${string}`
      • handlers: RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>[]

      Returns void