justcoding121 / titanium-web-proxy

A cross-platform asynchronous HTTP(S) proxy server in C#.
MIT License
1.93k stars 618 forks source link

Send URL to API - problem #851

Open Apertura1993 opened 3 years ago

Apertura1993 commented 3 years ago

Hi! I've my API that verifies the content on the website. I want to use TitaniumWebProxy to block a website - first I want to send an address (I mean URL) to API, then if I get a reply - block it URL or not. If I use the AfterResponse method, I can send the url to my API, but the page opens during this time and I can't block it - It's too late. However, if I use the BeforeRequest or BeforeResponse method, the connection is suspended, nothing happens and I cannot connect to the API or enter the page. Huge delays. What's the best way to do this? Thank U so much.

Apertura1993 commented 3 years ago

@justcoding121 @honfika What do U think?

zeltrax00 commented 1 year ago

exclude your hostname API