You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These examples use [Bundler](https://bundler.io/). Install Ruby development headers and libcurl first so native extensions can compile (Debian/Ubuntu: `ruby-dev` and `libcurl4-openssl-dev`; Fedora: `ruby-devel` and `libcurl-devel`).
|[HTTP.rb](https://github.com/httprb/http)|[http-rb-proxy.rb](ruby/http-rb-proxy.rb)| Lightweight DSL; proxy via `HTTP.via(host, port, user, pass)`|
160
+
|[RestClient](https://github.com/rest-client/rest-client)|[rest-client-proxy.rb](ruby/rest-client-proxy.rb)| Simple REST API; proxy via `RestClient.proxy = url`|
161
+
|[Typhoeus](https://github.com/typhoeus/typhoeus)|[typhoeus-proxy.rb](ruby/typhoeus-proxy.rb)| libcurl via Ethon; `proxy:` URL on the request |
162
+
|[Excon](https://github.com/excon/excon)|[excon-proxy.rb](ruby/excon-proxy.rb)| Fast client; `Excon.get(url, proxy: url)`|
163
+
|[HTTPClient](https://github.com/nahi/httpclient)|[httpclient-proxy.rb](ruby/httpclient-proxy.rb)| LWP-like client; pass full proxy URL to `HTTPClient.new`|
|[Nokogiri](https://nokogiri.org/)|[nokogiri-proxy.rb](ruby/nokogiri-proxy.rb)| Parse HTML after a proxied `Net::HTTP` fetch |
166
+
167
+
Libraries above are actively maintained on RubyGems (releases within the last year as of early 2026). Like most high-level Ruby HTTP clients, they do not expose custom headers on the HTTPS `CONNECT` tunnel to the proxy or proxy response headers; for ProxyMesh-style custom proxy headers, lower-level clients or a dedicated helper library may be required.
> **Note:** See [php-proxy-headers](https://github.com/proxymeshai/php-proxy-headers) for extensions that add custom proxy header support.
203
+
124
204
These examples use [Bundler](https://bundler.io/). Install Ruby development headers and libcurl first so native extensions can compile (Debian/Ubuntu: `ruby-dev` and `libcurl4-openssl-dev`; Fedora: `ruby-devel` and `libcurl-devel`).
125
205
126
206
```bash
@@ -189,7 +269,7 @@ More examples and language-specific proxy-header tooling:
189
269
190
270
## Contributing
191
271
192
-
Contributions are welcome for all supported languages in this repository (Python, JavaScript, and Ruby), as well as new language examples.
272
+
Contributions are welcome for all supported languages in this repository (Python, JavaScript, Ruby, and PHP), as well as new language examples.
0 commit comments