Options
All
  • Public
  • Public/Protected
  • All
Menu

An endpoint provides URLs for http and ws, based on configuration and defaults.

Hierarchy

  • Endpoint

Index

Constructors

Properties

location: Endpoint.Location = self.location
options: Endpoint.Options = {}
PROTO_FILE: string = 'file:'
PROTO_HTTP: string = 'http:'
PROTO_HTTPS: string = 'https:'
PROTO_WS: string = 'ws:'
PROTO_WSS: string = 'wss:'

Accessors

  • get host(): string
  • get httpScheme(): string
  • get origin(): string
  • get path(): string
  • get pathname(): string
  • get port(): string
  • get wsScheme(): string

Methods

  • getRestUrl(): URI
  • getSearchParam(name: string, defaultValue: string): string
  • getWebSocketUrl(): URI