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: Application = ...

Protected Readonly applicationPackage

applicationPackage: ApplicationPackage

Protected Readonly cliParams

Protected Readonly contributionsProvider

Protected Readonly processUtils

processUtils: ProcessUtils

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: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction): Promise<void>
  • Parameters

    • contentType: string
    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>>
    • next: NextFunction

    Returns Promise<void>

start

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

use

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