Home Manual Reference Source
import {Httpclient} from 'zetapush-js/src/mapping/services.js'
public class | source

Httpclient

Extends:

src/mapping/core.js~Service → Httpclient

User API for http requests

Static Member Summary

Static Public Members
public static get

Get default deployment id associated to Httpclient service

Method Summary

Public Methods
public

call(objectPattern: {"name": *, "requestId": *}): *

Makes a predefined request

Static Public Members

public static get DEFAULT_DEPLOYMENT_ID: string: string source

Get default deployment id associated to Httpclient service

Return:

string

Public Methods

public call(objectPattern: {"name": *, "requestId": *}): * source

Makes a predefined request

Lookups a predefined request by name, and executes it.

Params:

NameTypeAttributeDescription
objectPattern {"name": *, "requestId": *}
  • default: {"name":null,"requestId":null}

Return:

*