node-mitm-proxy
node-mitm-proxy copied to clipboard
Sending custom responses
Hello,
Is it possible to send back custom responses with the MITM proxy? As in, when the proxy.on('request') event is triggered, is it possible to send back a custom response to the caller of the request, which would completely bypass the server?
Thank you