Options
All
  • Public
  • Public/Protected
  • All
Menu

Angular 2 RESTClient class.

class

RESTClient

constructor

Hierarchy

  • RESTClient

Index

Constructors

constructor

Properties

Protected http

http: Http

Methods

Protected getBaseUrl

  • getBaseUrl(): string

Protected getDefaultHeaders

  • getDefaultHeaders(): Object

Protected requestInterceptor

  • requestInterceptor(req: Request): void
  • Request Interceptor

    method

    requestInterceptor

    Parameters

    • req: Request

      request object

    Returns void

Protected responseInterceptor

  • responseInterceptor(res: Response): Response
  • Response Interceptor

    method

    responseInterceptor

    Parameters

    • res: Response

      response object

    Returns Response

    res - transformed response object

Generated using TypeDoc