Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

httpcontrol

Package httpcontrol allows for HTTP transport level control around timeouts and retries.

Subscribe to updates I use httpcontrol


Statistics on httpcontrol

Number of watchers on Github 472
Number of open issues 0
Average time to close an issue about 1 month
Main language Go
Average time to merge a PR 21 days
Open pull requests 0+
Closed pull requests 2+
Last commit about 4 years ago
Repo Created about 7 years ago
Repo Last Updated over 1 year ago
Size 376 KB
Homepage https://godoc.org...
Organization / Authorfacebookgo
Contributors4
Page Updated
Do you use httpcontrol? Leave a review!
View httpcontrol activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating httpcontrol for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

httpcontrol Build Status

import "github.com/facebookgo/httpcontrol"

Package httpcontrol allows a HTTP transport supporting connection pooling, timeouts & retries.

This Transport is built on top of the standard library transport and augments it with additional features. Using it can be as simple as:

client := &http.Client{
    Transport: &httpcontrol.Transport{
        RequestTimeout: time.Minute,
        MaxTries: 3,
    },
}
res, err := client.Get("http://example.com/")

Documentation: http://godoc.org/github.com/facebookgo/httpcontrol

httpcontrol list of languages used
Other projects in Go