Manages persistent connections using Net::HTTP including a thread pool for connecting to multiple hosts. Using persistent HTTP connections can dramatically increase the speed of HTTP. Creating a new HTTP connection for every request involves an extra TCP round-trip and causes TCP congestion avoidance negotiation to start over. Net::HTTP supports persistent connections with some API methods but does not make setting up a single persistent connection or managing multiple connections easy. Net::HTTP::Persistent wraps Net::HTTP and allows you to focus on how to make HTTP requests.

Required Ruby Version

>= 2.4

Authors

Eric Hodel

Versions

  1. 4.0.8
    1. source

      1. 4.0.8 source December 30, 2025 (27 KB)
  2. 4.0.7
    1. source

      1. 4.0.7 source December 30, 2025 (27 KB)
  3. 4.0.6
    1. source

      1. 4.0.6 source May 29, 2025 (27 KB)
  4. 4.0.5
    1. source

      1. 4.0.5 source December 04, 2024 (26.5 KB)
  5. 4.0.4
    1. source

      1. 4.0.4 source September 09, 2024 (26.5 KB)
Show all versions (54 total)

Pushed by

GitHub

SHA 256 checksum

Provenance