Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BackendService Abstract

description

This class handles the execution of HTTP requests using a running backend runtime.

example

Using the BackendService class

  const app = BackendService.getInstance();
console.log(app.getUrl("auth/challenge"));



Properties

param baseUrl

Base URL that will be used for all api calls

param handler

Generated instance of the HttpRequestHandler

since

v0.3.0

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

baseUrl: string = ...

This property is used to define the base URL which is queried with each HTTP request executed using this backend service.

example:

"http://localhost:7903"

access

protected

var

{string}

Accessors

Methods

  • getDateFormatForPeriod(periodFormat: string): string
  • getUrl(endpoint: string): string

Generated using TypeDoc