Class: zClientService

zClientService()

Service that contains the functions related to the http client service.

Constructor

new zClientService()

Author:
Source:

Classes

zClientService

Members

statusCodeSuccess

Array with success status codes.
Author:
Source:

tService

Stores instance zTranslateService.
Author:
Source:

Methods

(static) destroyInstance()

Function used to destroy instance of zClientService.
Author:
Source:

(static) getInstance()

Function used to get instance of zClientService
Author:
Source:
Returns:
zClientService

request(url, type, obj, customHeader)

Function Client Resquest.
Parameters:
Name Type Description
url string Url Request
type 'GET' | 'POST' Type Request.
obj any Object Values
customHeader any Object Custom Header Example { TOKEN: '1234', NAME: 'zModule' }
Author:
Source:
Returns: