Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MiniBrowserEnvironment

Fetch values from the backend's environment and caches them locally. Helps with deploying various mini-browser endpoints.

Hierarchy

Implements

  • FrontendApplicationContribution

Index

Constructors

constructor

Properties

Protected Optional _hostPattern

_hostPattern: string

Protected _hostPatternPromise

_hostPatternPromise: Promise<string>

Protected environment

environment: EnvVariablesServer

Accessors

hostPattern

  • get hostPattern(): undefined | string

hostPatternPromise

  • get hostPatternPromise(): Promise<string>

Methods

Protected getDefaultHostname

  • getDefaultHostname(): string

getEndpoint

  • getEndpoint(uuid: string, hostname?: string): Endpoint

Protected getHostPattern

  • getHostPattern(): Promise<string>

getRandomEndpoint

  • getRandomEndpoint(): Endpoint

onStart

  • onStart(): Promise<void>

Protected postConstruct

  • postConstruct(): void