A HTTP Proxy written in Crystal inspired by Ruby's WEBrick::HTTPProxyServer
Add this to your application's shard.yml
:
dependencies:
proxy:
github: bbtfr/proxy.cr
require "http/proxy"
server = HTTP::Proxy.new(8080)
puts "Listening on http://127.0.0.1:8080"
server.listen
- Basic HTTP Proxy: GET, POST, PUT, DELETE support
- Basic HTTP Proxy: OPTIONS support
- HTTPS Proxy: CONNECT support
- Make context.request & context.response writable
- MITM HTTPS Proxy
- Fork it ( https://github.com/bbtfr/proxy/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- bbtfr Theo Li - creator, maintainer