Class configuration
ProtectedcontrollerTo control request
ProtecteddebugLevel of detail for logs of this class
ProtectedhostnameTo be requested
ProtectedLOG_ProtectedLOG_ProtectedLOG_ProtectedLOG_ProtectedLOG_ProtectedLOG_ProtectedLOG_ProtectedLOG_ProtectedportTo be fetched
ProtectedrequestTo be performed
ProtectedresponseObtained from request
ProtectedsecureFlags if request to bound hostname should be secure (https) or not.
ProtectedurlFetched
Protected_logProtectedPerforms a console.log
Specific level of a single log message
Optionalforce: booleanWhether log must be forced or not
Optionalmessage: stringTo be logged
Rest of arguments
Protected_serializeOptionalheaders: Record<string, string>Optionalbody: anyProtected_unAborts current request
Optionalreason: stringTo abort request
Builds the {Request} object to be used
To be fetched
built the request
Performs an AJAX Http Request
To be fetched
Optionaloptions: 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