Theia API Documentation v1.65.0
    Preparing search index...

    Contribution for hooking into the backend lifecycle:

    • initialize()
    • configure(expressApp)
    • onStart(httpServer)
    • onStop()

    Implements

    Index

    Constructors

    Properties

    applicationPackage: ApplicationPackage
    remoteService: BackendRemoteService
    serveSameOrigin: boolean = false
    webviewExternalEndpointRegExp: RegExp

    Methods

    • Called after the initialization of the backend application is complete. Use this to configure the Express app before it is started, for example to offer additional endpoints.

      The implementation may be async, however it will still block the configuration step until it's resolved.

      Parameters

      • app: Application

        the express application to configure.

      Returns void

      either undefined or a Promise resolving to undefined.