Internal module providing the basic request builder classes.
Classes
Methods
(inner) matchFactory(root, attrs) → (nullable) {factory.NSFactory}
Tries to match one of the configured top-level factories to the given root tag to parse the XML data it contains into a NationScript object.
Parameters:
Name | Type | Description |
---|---|---|
root |
string | Name of the root node |
attrs |
Object.<string, string> | Attributes on the root node |
Returns:
Factory matching the root tag, if found
- Type
- factory.NSFactory
Type Definitions
NSRequestData
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
url |
string | ||
body |
string |
<nullable> |
|
options |
https.RequestOptions |