SkillAgentSearch skills...

Httpcontrol

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

Install / Use

/learn @facebookarchive/Httpcontrol
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars463
CategoryDevelopment
Updated9d ago
Forks29

Languages

Go

Security Score

80/100

Audited on Mar 15, 2026

No findings