Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseService

A base service that exposes standard verbs

Hierarchy

Index

Constructors

constructor

Properties

Private authService

authService: AuthService

The authentication service

Private httpClient

httpClient: HttpClient

The http client

Methods

Protected deleteVerb

  • deleteVerb(path: string): Promise<any>

Protected getVerb

  • getVerb(path: string, options?: any): Promise<any>
  • Make a GET request to the specified path

    Parameters

    • path: string

      The path

    • Optional options: any

    Returns Promise<any>

Protected postVerb

  • postVerb(path: string, body: any): Promise<any>
  • Make a POST request to the specified path

    Parameters

    • path: string

      The path

    • body: any

      The request body

    Returns Promise<any>

Protected postVerbObservable

  • postVerbObservable(path: string, body: any): Observable<any>

Protected putVerb

  • putVerb(path: string, body: any): Promise<any>
  • Make a PUT request to the specified path

    Parameters

    • path: string

      The path

    • body: any

      The request body

    Returns Promise<any>

Generated using TypeDoc