Home

excon

Excon is a Ruby HTTP client library designed to provide fast, robust access to web resources. It emphasizes low-level control, efficient connection handling, and a simple API for making HTTP requests. Excon is used across Ruby projects that require performance and reliability, including integration layers in other libraries.

The library uses persistent connections, streaming, and a middleware-driven architecture. The middleware stack allows users to

Usage and ecosystem: as a gem, Excon can be used by direct calls like Excon.get, Excon.post, or

Excon is open-source software with ongoing community development. It is distributed via RubyGems and hosted on

modify
requests,
responses,
and
errors
as
they
pass
through
Excon.
It
supports
streaming
request
bodies
and
responses,
which
helps
handle
large
payloads
without
buffering.
Excon's
design
aims
for
thread-safety
and
predictable
resource
usage,
making
it
suitable
for
high-concurrency
applications.
It
abstracts
away
the
underlying
socket
implementation
behind
a
consistent
interface.
by
constructing
Excon::Connection
objects
for
reuse.
It
integrates
with
Ruby
ecosystems
such
as
Fog
and
other
HTTP-driven
libraries
to
provide
robust
network
communication
features.
public
repositories,
where
users
can
contribute,
report
issues,
and
propose
enhancements.