Skip to content

Add comprehensive Ruby proxy examples#13

Open
proxymeshai wants to merge 1 commit intomainfrom
feature/ruby-examples
Open

Add comprehensive Ruby proxy examples#13
proxymeshai wants to merge 1 commit intomainfrom
feature/ruby-examples

Conversation

@proxymeshai
Copy link
Collaborator

Summary

  • Adds proxy usage examples for 9 popular Ruby HTTP libraries
  • Creates Gemfile with all dependencies
  • Adds test runner script (run_tests.rb) with CLI options
  • Updates README with Ruby documentation section

Libraries Covered

Library File Description
Net::HTTP net_http_proxy.rb Ruby stdlib HTTP client
Faraday faraday_proxy.rb HTTP client with middleware
HTTParty httparty_proxy.rb Makes HTTP fun
RestClient rest_client_proxy.rb Simple REST client
Typhoeus typhoeus_proxy.rb Fast libcurl wrapper
HTTP.rb http_rb_proxy.rb Simple HTTP DSL
Excon excon_proxy.rb Fast HTTP client
HTTPClient httpclient_proxy.rb LWP-like client
Mechanize mechanize_proxy.rb Web automation

Usage

cd ruby
bundle install
export PROXY_URL='http://user:pass@proxy:8080'
ruby run_tests.rb

Test plan

  • Verify all examples work with a proxy server
  • Test run_tests.rb script options (-v, -l, -h)
  • Confirm README renders correctly

Made with Cursor

@proxymesh
Copy link
Owner

bugbot run

@proxymeshai proxymeshai force-pushed the feature/ruby-examples branch from ca80fea to 028ed18 Compare March 1, 2026 15:43
Adds examples for 9 Ruby HTTP libraries:
- Net::HTTP (stdlib)
- Faraday
- HTTParty
- RestClient
- Typhoeus
- HTTP.rb
- Excon
- HTTPClient
- Mechanize

Includes Gemfile, test runner, and updated README with documentation.
Each example demonstrates basic proxy configuration with environment variables.

Made-with: Cursor
@proxymeshai proxymeshai force-pushed the feature/ruby-examples branch from 028ed18 to 5a60d51 Compare March 1, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants