{"id":32179164,"url":"https://github.com/shenfeng/async-http-client","last_synced_at":"2026-02-18T22:02:23.600Z","repository":{"id":1653202,"uuid":"2379108","full_name":"shenfeng/async-http-client","owner":"shenfeng","description":"A fast async http client based on netty","archived":false,"fork":false,"pushed_at":"2013-03-29T23:54:30.000Z","size":230,"stargazers_count":43,"open_issues_count":0,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-21T21:03:01.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://shenfeng.me","language":"Java","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/shenfeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-13T15:14:09.000Z","updated_at":"2024-12-23T14:55:28.000Z","dependencies_parsed_at":"2022-08-25T10:30:50.233Z","dependency_job_id":null,"html_url":"https://github.com/shenfeng/async-http-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shenfeng/async-http-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfeng%2Fasync-http-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfeng%2Fasync-http-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfeng%2Fasync-http-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfeng%2Fasync-http-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shenfeng","download_url":"https://codeload.github.com/shenfeng/async-http-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shenfeng%2Fasync-http-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-10-21T21:01:13.026Z","updated_at":"2026-02-18T22:02:23.595Z","avatar_url":"https://github.com/shenfeng.png","language":"Java","funding_links":[],"categories":["网络编程"],"sub_categories":["Spring Cloud框架"],"readme":"An Async HTTP Client Based on [Netty](http://netty.io/)\n\nI write this for my personal part time project\n[RSSMiner](http://rssminer.net), for the web crawler and feed fetcher module.\n\nPlease checkout out [http-kit](https://github.com/http-kit/http-kit), it should have better performance.\n\n```xml\n\u003crepository\u003e\n  \u003cid\u003eclojars.org\u003c/id\u003e\n  \u003curl\u003ehttp://clojars.org/repo\u003c/url\u003e\n\u003c/repository\u003e\n\n\u003cdependency\u003e\n\t\u003cgroupId\u003eme.shenfeng\u003c/groupId\u003e\n\t\u003cartifactId\u003easync-http-client\u003c/artifactId\u003e\n\t\u003cversion\u003e1.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n```clj\n; You may want to write an wrapper function to make it easier to use in Clojure project\n[me.shenfeng/async-http-client \"1.1.0\"]\n```\n\nFeatures\n--------\n\n* Asynchronous\n* Minimum: just download webpages from Internet efficently.\n* Support SOCKS v5, HTTP proxy\n* HTTPS(trust all)\n* [Configurable](https://github.com/shenfeng/async-http-client/blob/master/src/java/me/shenfeng/http/HttpClientConfig.java)\n* [DNS prefetch](https://github.com/shenfeng/async-http-client/blob/master/src/java/me/shenfeng/dns/DnsPrefecher.java),\n\n\nLimitations:\n------------\n* All Content are buffered in memory as byte array=\u003e can not handle\nlarge file. Anyway, it's meant to download webpages(zipped if server\nsupport)\n* Dns prefetch is IPV4 only.\n\nExample\n-------\n\n```java\n  // Http client sample usage\n   HttpClientConfig config = new HttpClientConfig();\n   header = new HashMap\u003cString, Object\u003e();\n   HttpClient client = new HttpClient(config);\n   URI uri = new URI(\"http://onycloud.com\");\n   final HttpResponseFuture future = client.execGet(uri, header);\n   resp.addListener(new Runnable() {\n       public void run() {\n           HttpResponse resp = future.get(); // async\n       }\n   });\n   HttpResponse resp = future.get(); // blocking\n```\n\n### License\n\nCopyright \u0026copy; 2012 [Feng Shen](http://shenfeng.me/). Distributed under the [Apache License Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenfeng%2Fasync-http-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshenfeng%2Fasync-http-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshenfeng%2Fasync-http-client/lists"}