yodaRT.activity.Activity. HttpgwClient

Extends

Methods

request(path, data, options) → {Promise.<object>}

Request with HTTPGW API.

Parameters:
Name Type Description
path string

request path for httpgw.

data object

request data for httpgw.

options object

options of the httpgw

Name Type Description
service string

httpgw service

timeout number

a number specifying the request timeout in milliseconds

Returns:
Type:
Promise<object>

getSignature(options) → {Promise.<string>}

Get the httpgw signature.

Parameters:
Name Type Description
options object
Name Type Description
service string

httpgw service

Returns:
Type:
Promise<string>