v0.6.0
Features
- Adds the event emitter to listen to internal events. Supports the
responseevent fired upon any mocked/original response.
import { RequestInterceptor } from 'node-request-interceptor'
const interceptor = new RequestInterceptor(interceptors)
interceptor.on('response', (req, res) => {})Note that you cannot affect
req/resin theresponseevent.