Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BackendApplication

The main entry point for Theia applications.

Hierarchy

  • BackendApplication

Index

Constructors

Properties

app: Application = ...
applicationPackage: ApplicationPackage
processUtils: ProcessUtils
stopwatch: Stopwatch

Methods

  • configure(): Promise<void>
  • initialize(): Promise<void>
  • measure<T>(name: string, fn: (() => MaybePromise<T>)): Promise<T>
  • onStop(): void
  • serveGzipped(contentType: string, req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction): Promise<void>
  • start(aPort?: number, aHostname?: string): Promise<Server | Server>
  • use(...handlers: Handler[]): void