Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Package httpcontrol allows for HTTP transport level control around timeouts and retries.
Go
branch: master
Failed to load latest commit information.
httpcache ordering nit
.travis.yml
example_test.go
httpcontrol.go
httpcontrol_test.go
license
patents repo move, license update and internal sync
readme.md repo move, license update and internal sync

readme.md

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

Something went wrong with that request. Please try again.