Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MiniBrowserElectronMainContribution

Since the mini-browser might serve content from a new origin, we need to attach the ElectronSecurityToken for the Electron backend to accept HTTP requests.

Hierarchy

  • MiniBrowserElectronMainContribution

Implements

  • ElectronMainApplicationContribution

Index

Constructors

Properties

electronSecurityTokenService: ElectronSecurityTokenService

Methods

  • getMiniBrowserEndpoint(port: number): string
  • onStart(app: ElectronMainApplication): Promise<void>