pmusolino / Wormholy

iOS network debugging, like a wizard 🧙‍♂️
MIT License
2.32k stars 184 forks source link

Intercept WKWebView calls #8

Closed ghost closed 3 years ago

ghost commented 5 years ago

Would be great (if possible) to enable requests sent via a WKWebView to be intercepted and shown within Wormholy's debug menu.

These resources might help: 1) https://stackoverflow.com/questions/40133512/intercept-request-with-wkwebview 2) https://github.com/BKRApps/KRWebView

fvvliet commented 4 years ago

+1

tommy19970714 commented 4 years ago

I made a sample code for WKWebView. I would like to integrate to this repogitory. https://github.com/tommy19970714/WebKitURLProtocol/tree/master

pmusolino commented 3 years ago

@tommy19970714 please, feel free to open a PR. 👍