browsermob-proxy-api
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -43,3 +43,3 @@ var http = require('http'); | ||
clearURLWhiteList: function(port, callback) { | ||
this.call('DELETE', '/proxy/' + port + '/whitelist', callback); | ||
this.call('DELETE', '/proxy/' + port + '/whitelist', null, callback); | ||
}, | ||
@@ -52,3 +52,3 @@ | ||
clearURLBlackList: function(port, callback) { | ||
this.call('DELETE', '/proxy/' + port + '/blacklist', callback); | ||
this.call('DELETE', '/proxy/' + port + '/blacklist', null, callback); | ||
}, | ||
@@ -81,3 +81,3 @@ | ||
removeAllURLRedirects: function(port, callback) { | ||
this.call('DELETE', '/proxy/' + port + '/rewrite', callback); | ||
this.call('DELETE', '/proxy/' + port + '/rewrite', null, callback); | ||
}, | ||
@@ -90,3 +90,3 @@ | ||
clearDNSCache: function(port, callback) { | ||
this.call('DELETE', '/proxy/' + port + '/dns/cache', callback); | ||
this.call('DELETE', '/proxy/' + port + '/dns/cache', null, callback); | ||
}, | ||
@@ -93,0 +93,0 @@ |
{ | ||
"name": "browsermob-proxy-api", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "NodeJS bindings for controlling a browsermob-proxy instance (creating ports, HARs, etc)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6014