Constructor
new VersionRequest()
mandate
s the a
argument and sets it.
Methods
(async) send() → {Promise.<number>}
Calls the raw
function and passes its return value
through the streamToString
function, converting the text
response to a simple number before returning that.
Returns:
The current version of the API
- Type
- Promise.<number>