{"id":76101,"library":"cristalhq-hedgedhttp","title":"Hedged HTTP","description":"Provides a hedged HTTP client that issues multiple requests and uses the first successful response.","status":"active","version":"0.9.1","language":"go","source_language":null,"source_url":"https://github.com/cristalhq/hedgedhttp","tags":["http","client","hedged","resilience"],"install":[{"cmd":"go get github.com/cristalhq/hedgedhttp","lang":"bash","label":"Install github.com/cristalhq/hedgedhttp"}],"dependencies":[],"imports":[{"symbol":"hedgedhttp","correct":"github.com/cristalhq/hedgedhttp"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"github.com/cristalhq/hedgedhttp\"\n)\n\nfunc main() {\n\tclient := hedgedhttp.New(3, 100, http.DefaultClient)\n\tresp, _ := client.Get(\"https://example.com\")\n\tfmt.Println(resp.StatusCode)\n}","lang":"go","description":"Create a hedged HTTP client with 3 concurrent requests."},"warnings":[],"env_vars":null,"search_vec":"'client':7,19 'first':15 'hedg':1,5,20 'http':2,6,18 'issu':9 'multipl':10 'provid':3 'request':11 'resili':21 'respons':17 'success':16 'use':13","created_at":"2026-06-17T19:24:43.923793+00:00","updated_at":"2026-06-17T19:24:43.923793+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cristalhq/hedgedhttp","github":"https://github.com/cristalhq/hedgedhttp","docs":"https://pkg.go.dev/github.com/cristalhq/hedgedhttp#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}