%PDF- %PDF-
Direktori : /home/opti/workflow/node_modules/superagent/lib/node/parsers/ |
Current File : /home/opti/workflow/node_modules/superagent/lib/node/parsers/text.js |
'use strict'; module.exports = function(res, fn){ res.text = ''; res.setEncoding('utf8'); res.on('data', chunk => { res.text += chunk; }); res.on('end', fn); };