- feature #24: extended behaviour of "setHeader" method

- added test suite for www interface of plugin (js files)
This commit is contained in:
Sefa Ilkimen
2017-10-20 17:22:51 +02:00
parent 1375727316
commit d7e13b046b
16 changed files with 149 additions and 36 deletions
+13
View File
@@ -0,0 +1,13 @@
exports.configure = driver => {
driver.on('status', info => {
console.log(info.cyan);
});
driver.on('command', (meth, path, data) => {
console.log(' > ' + meth.yellow, path.grey, data || '');
});
driver.on('http', (meth, path, data) => {
console.log(' > ' + meth.magenta, path, (data || '').grey);
});
};