Registry / http-client / patron

patron

JSON →
library0.13.4rbrubygemsunverified

Ruby HTTP client library based on libcurl, providing a simple interface for HTTP requests.

gem install patron
INSTALL
IMPORT
SIG · PATRON
P
patron
http-clientrubyv0.13.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Patron
require 'patron'

Make a GET request using Patron's session-based HTTP client.

require 'patron' session = Patron::Session.new response = session.get('https://api.example.com/data') puts response.body
Debug
Known issues
gotchaRequires libcurl development headers to be installed.
fix
Install libcurl-dev or libcurl-devel via your package manager before installing the gem.
affects: >= 0.1.0
Upgrade
Version history
0.13.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
patron — gem install patron · libregistry