Class configuration
Protected
controllerTo control request
Protected
debugLevel of detail for logs of this class
Protected
hostnameTo be requested
Protected
LOG_Protected
LOG_Protected
LOG_Protected
LOG_Protected
LOG_Protected
LOG_Protected
LOG_Protected
LOG_Protected
portTo be fetched
Protected
requestTo be performed
Protected
responseObtained from request
Protected
secureFlags if request to bound hostname should be secure (https) or not.
Protected
urlFetched
Protected
_logProtected
Performs a console.log
Specific level of a single log message
Optional
force: booleanWhether log must be forced or not
Optional
message: stringTo be logged
Rest of arguments
Protected
_serializeOptional
headers: Record<string, string>Optional
body: anyProtected
_unAborts current request
Optional
reason: stringTo abort request
Builds the {Request} object to be used
To be fetched
built the request
Performs an AJAX Http Request
To be fetched
Optional
options: XHRFetchOptionsConfigures a single AJAX request
Resets instance to its default status
Adaptor for any
'application/json'
AJAX Http Request.See
https://github.com/Wolfchamane/amjs-js-utils/blob/master/examples/xhr/main.ts