{"version":3,"sources":["jsdelivr-header.js","/npm/@maniajs/xmlrpc@2.0.0-beta.4/lib/xmlrpc.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,OAAS,QAAQ,YACjB,OAAS,QAAQ,YACjB,WAAa,QAAQ,gBACrB,cAAgB,QAAQ,oBAExB,OAAS,QAgBb,OAAO,aAAe,SAAS,GAC7B,OAAO,IAAI,OAAO,GAAS,EAC7B,EAgBA,OAAO,mBAAqB,SAAS,GACnC,OAAO,IAAI,OAAO,GAAS,EAC7B,EAWA,OAAO,aAAe,SAAS,EAAS,GACtC,OAAO,IAAI,OAAO,GAAS,EAAO,EACpC,EAWA,OAAO,mBAAqB,SAAS,EAAS,GAC5C,OAAO,IAAI,OAAO,GAAS,EAAM,EACnC,EAEA,OAAO,WAAa,WACpB,OAAO,cAAgB","file":"/npm/@maniajs/xmlrpc@2.0.0-beta.4/lib/xmlrpc.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@maniajs/xmlrpc@2.0.0-beta.4/lib/xmlrpc.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var Client = require('./client')\r\n  , Server = require('./server')\r\n  , CustomType = require('./customtype')\r\n  , dateFormatter = require('./date_formatter')\r\n\r\nvar xmlrpc = exports\r\n\r\n/**\r\n * Creates an XML-RPC client.\r\n *\r\n * @param {object} options - server options to make the HTTP request to\r\n * @param {string} options.host\r\n * @param {number} options.port\r\n * @param {string} options.url\r\n * @param {boolean} [options.cookies]\r\n * @param {number} [options.keepALive] keepAlive Miliseconds, 0 to disable (default).\r\n * @param {string} [options.gzip] GZip support, false default. could be 'response' or 'both'.\r\n * @param {string} [options.userAgent] Custom user agent, optional.\r\n * @return {Client}\r\n * @see Client\r\n */\r\nxmlrpc.createClient = function(options) {\r\n  return new Client(options, false)\r\n}\r\n\r\n/**\r\n * Creates an XML-RPC client that makes calls using HTTPS.\r\n *\r\n * @param {object} options - server options to make the HTTP request to\r\n * @param {string} options.host\r\n * @param {number} options.port\r\n * @param {string} options.url\r\n * @param {boolean} [options.cookies]\r\n * @param {number} [options.keepALive] keepAlive Miliseconds, 0 to disable (default).\r\n * @param {string} [options.gzip] GZip support, false default. could be 'response' or 'both'.\r\n * @param {string} [options.userAgent] Custom user agent, optional.\r\n * @return {Client}\r\n * @see Client\r\n */\r\nxmlrpc.createSecureClient = function(options) {\r\n  return new Client(options, true)\r\n}\r\n\r\n/**\r\n * Creates an XML-RPC server.\r\n *\r\n * @param {Object}options - the HTTP server options\r\n *   - {String} host\r\n *   - {Number} port\r\n * @return {Server}\r\n * @see Server\r\n */\r\nxmlrpc.createServer = function(options, callback) {\r\n  return new Server(options, false, callback)\r\n}\r\n\r\n/**\r\n * Creates an XML-RPC server that uses HTTPS.\r\n *\r\n * @param {Object}options - the HTTP server options\r\n *   - {String} host\r\n *   - {Number} port\r\n * @return {Server}\r\n * @see Server\r\n */\r\nxmlrpc.createSecureServer = function(options, callback) {\r\n  return new Server(options, true, callback)\r\n}\r\n\r\nxmlrpc.CustomType = CustomType\r\nxmlrpc.dateFormatter = dateFormatter\r\n"]}