Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor (requestFilterRuleInit, options) {
options = Object.assign({}, DEFAULT_OPTIONS, options);
RequestLoggerImplementation._assertLogOptions(options);
const configureResponseEventOptions = new ConfigureResponseEventOptions(options.logResponseHeaders, options.logResponseBody);
super(requestFilterRuleInit, configureResponseEventOptions);
this.options = options;
this._internalRequests = {};
}