Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BackendApplication

The main entry point for Theia applications.

Hierarchy

  • BackendApplication

Index

Constructors

constructor

Properties

Private Readonly _performanceObserver

_performanceObserver: PerformanceObserver

Protected Readonly app

app: express.Application = express()

Protected Readonly applicationPackage

applicationPackage: ApplicationPackage

Protected Readonly cliParams

Protected Readonly contributionsProvider

Methods

Protected configure

  • configure(): Promise<void>

Protected initialize

  • initialize(): Promise<void>

Protected measure

  • measure<T>(name: string, fn: () => MaybePromise<T>): Promise<T>

Protected onStop

  • onStop(): void

Protected serveGzipped

  • serveGzipped(contentType: string, req: express.Request, res: express.Response, next: express.NextFunction): Promise<void>

start

  • start(aPort?: undefined | number, aHostname?: undefined | string): Promise<Server | Server>

use

  • use(...handlers: express.Handler[]): void