Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Endpoint

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

Hierarchy

  • Endpoint

Index

Constructors

constructor

Properties

Protected Readonly location

location: Location = ...

Protected Readonly options

options: Options = {}

Static Readonly PROTO_FILE

PROTO_FILE: string = 'file:'

Static Readonly PROTO_HTTP

PROTO_HTTP: string = 'http:'

Static Readonly PROTO_HTTPS

PROTO_HTTPS: string = 'https:'

Static Readonly PROTO_WS

PROTO_WS: string = 'ws:'

Static Readonly PROTO_WSS

PROTO_WSS: string = 'wss:'

Accessors

host

  • get host(): string

httpScheme

  • get httpScheme(): string

Protected path

  • get path(): string

Protected pathname

  • get pathname(): string

Protected port

  • get port(): string

Protected wsScheme

  • get wsScheme(): string

Methods

getRestUrl

Protected getSearchParam

  • getSearchParam(name: string, defaultValue: string): string

getWebSocketUrl