Class: Transport

Transport

(protected) new Transport()

Class for HTTP request transport
Source:

Classes

ProxyTransport

Methods

httpRequest(params, callbackopt, optionsopt) → {Promise.<Object>}

Make HTTP request, returns promise instead of stream
Parameters:
Name Type Attributes Description
params Object HTTP request
callback Callback.<Object> <optional>
Calback Function
options Callback.<Object> <optional>
Options
Source:
Returns:
Type
Promise.<Object>