Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ApiService

Index

Constructors

constructor

  • new ApiService(http: HttpClient, cookieService: CookieService, platformId: Object): ApiService

Properties

Private apiUrl

apiUrl: string = ...

combolistName

combolistName: string

deviceName

deviceName: string

headers

headers: HttpHeaders = ...

isBrowser

isBrowser: boolean

searchKey

searchKey: string

Methods

PostContributeForm

checkLoginStatus

doApiGet

  • doApiGet<T>(url: string, withCredentials?: boolean): Observable<T>
  • Type parameters

    • T

    Parameters

    • url: string
    • withCredentials: boolean = false

    Returns Observable<T>

doLogout

eraseCookie

  • eraseCookie(name: string): void

getAllDeviceCombolist

getClearCache

getCookie

  • getCookie(name: string): string

getDeviceCombolist

getDeviceCombos

  • getDeviceCombos(deviceName: any): Observable<Combos>

getDeviceCombosCombolist

  • getDeviceCombosCombolist(deviceName: any, combolistName: any): Observable<Combos>

getDeviceSpecs

getDevices

getRawCombosCombolist

  • getRawCombosCombolist(deviceName: any, combolistName: any): Observable<ApiResult<RawCombos>>

getSearchResult

Private handleError

  • handleError(): (error: any) => Observable<any>
  • Handle Http operation that failed. Let the app continue.

    Returns (error: any) => Observable<any>

      • (error: any): Observable<any>
      • Parameters

        • error: any

        Returns Observable<any>

Private log

  • log(message: string): void

setCookie

  • setCookie(name: string, value: string, days: number): void

Generated using TypeDoc