How to catch all HTTP traffic (local proxy)
问题 I am looking to get access to all HTTP traffic on my machine (my windows machine - not a server). From what I understand having a local proxy through which all traffic routes is the way to go. I have been Googling but failed to find any resources (in respect to Ruby) to help me out. Any tips or links are much appreciated. 回答1: There's an HTTP Proxy in WEBrick (part of Ruby stdlib) and here's an implementation example. If you like living on the edge there's also em-proxy by Ilya Grigorik. This