{"id":13747510,"url":"https://github.com/drbrain/net-http-persistent","last_synced_at":"2025-04-29T14:18:59.120Z","repository":{"id":894917,"uuid":"647538","full_name":"drbrain/net-http-persistent","owner":"drbrain","description":"Thread-safe persistent connections with Net::HTTP","archived":false,"fork":false,"pushed_at":"2024-12-05T02:20:20.000Z","size":493,"stargazers_count":345,"open_issues_count":19,"forks_count":118,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-26T05:09:50.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://seattlerb.rubyforge.org/net-http-persistent","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drbrain.png","metadata":{"files":{"readme":"README.rdoc","changelog":"History.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-05-05T00:00:09.000Z","updated_at":"2025-04-22T18:51:04.000Z","dependencies_parsed_at":"2024-01-13T03:01:14.219Z","dependency_job_id":"872425db-8370-4ff7-a228-3d6e55cea4f7","html_url":"https://github.com/drbrain/net-http-persistent","commit_stats":{"total_commits":299,"total_committers":45,"mean_commits":6.644444444444445,"dds":0.3010033444816054,"last_synced_commit":"234f3b2c6a0ed044e3c55e3de982257b4860ba0a"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbrain%2Fnet-http-persistent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbrain%2Fnet-http-persistent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbrain%2Fnet-http-persistent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drbrain%2Fnet-http-persistent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drbrain","download_url":"https://codeload.github.com/drbrain/net-http-persistent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251094571,"owners_count":21535324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T06:01:31.824Z","updated_at":"2025-04-29T14:18:59.104Z","avatar_url":"https://github.com/drbrain.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"= net-http-persistent\n\nhome :: https://github.com/drbrain/net-http-persistent\nrdoc :: https://rubydoc.info/gems/net-http-persistent\n\n== DESCRIPTION:\n\nManages persistent connections using Net::HTTP including a thread pool for\nconnecting to multiple hosts.\n\nUsing persistent HTTP connections can dramatically increase the speed of HTTP.\nCreating a new HTTP connection for every request involves an extra TCP\nround-trip and causes TCP congestion avoidance negotiation to start over.\n\nNet::HTTP supports persistent connections with some API methods but does not\nmake setting up a single persistent connection or managing multiple\nconnections easy.  Net::HTTP::Persistent wraps Net::HTTP and allows you to\nfocus on how to make HTTP requests.\n\n== FEATURES/PROBLEMS:\n\n* Supports TLS with secure defaults\n* Thread-safe\n* Pure ruby\n\n== SYNOPSIS\n\nThe following example will make two requests to the same server.  The\nconnection is kept alive between requests:\n\n    require 'net/http/persistent'\n\n    uri = URI 'http://example.com/awesome/web/service'\n\n    http = Net::HTTP::Persistent.new name: 'my_app_name'\n\n    # perform a GET\n    response = http.request uri\n\n    # create a POST\n    post_uri = uri + 'create'\n    post = Net::HTTP::Post.new post_uri.path\n    post.set_form_data 'some' =\u003e 'cool data'\n\n    # perform the POST, the URI is always required\n    response = http.request post_uri, post\n\n    # if you are done making http requests, or won't make requests for several\n    # minutes\n    http.shutdown\n\nPlease see the documentation on Net::HTTP::Persistent for more information,\nincluding SSL connection verification, header handling and tunable options.\n\n== INSTALL:\n\n  gem install net-http-persistent\n\n== LICENSE:\n\n(The MIT License)\n\nCopyright (c) Eric Hodel, Aaron Patterson\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbrain%2Fnet-http-persistent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrbrain%2Fnet-http-persistent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrbrain%2Fnet-http-persistent/lists"}