()
| 146 | |
| 147 | // Wrap callback to nullify server after all open connections are closed. |
| 148 | function done() { |
| 149 | self._server = null; |
| 150 | if (callback) { |
| 151 | callback.apply(null, arguments); |
| 152 | } |
| 153 | }; |
| 154 | }; |
| 155 | |
| 156 | ProxyServer.prototype.before = function(type, passName, callback) { |
no outgoing calls
no test coverage detected