Constructor
new RequestProcessor(options)
Runs a standard RESTful StashKu request using command line options to define the request metadata. Callers can optionally save output to file.
Parameters
-
options
CLI.GetCommandLineOptions
|CLI.OptionsCommandLineOptions
The command line options of the request.
Source
Members
optionsCLI.GetCommandLineOptions|CLI.OptionsCommandLineOptions
Type
Source
Methods
buildGet(req, resource) → {GetRequest}
Builds a GetRequest
from the command-line/processor options.
Parameters
-
req
GetRequest
An exisiting
GetRequest
to build upon. -
resource
String
The resource to retrieve.
Returns
Source
buildOptions(req) → {OptionsRequest}
Builds a OptionsRequest
from the command-line/processor options.
Parameters
-
req
OptionsRequest
An exisiting
OptionsRequest
to build upon.
Returns
Source
async