olmps / web-sniffer

A simple and clean web-traffic proxy sniffer written in typescript
https://olmps.co
MIT License
21 stars 3 forks source link

Disappointed - Didn't work #9

Open redevill opened 1 year ago

redevill commented 1 year ago

While this may be my lack of understanding... the example is flawed. The typescript type says the function should return a promise - At a min - it should be: return Promise.resolve(request); To satisfy the typing.

The typing also states that the intercept expects options, so the HTTPS example needs merging with the first. After getting through all this... It would not intercept anything for me. Sigh - expected too much from an abandoned project.