Showing 1 of 1 total issue
Function request
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request(rtype, rmethod, {params, api, post}={}, callback=Function.prototype) {
assert(rtype && rmethod, 'rtype and rmethod must be String and cannot be null');
//console.log('request: ' + rtype + ' ' + rmethod);
let {appkey, secretkey, userkey, output, format, timeout, useragent, ssl} = this;