Registry / http-client / cfhttp-v2

cfhttp-v2

JSON →
library2.76.0gogounverified

Provides defaults and helpers for building HTTP clients with consistent configuration across CloudFoundry components.

go get code.cloudfoundry.org/cfhttp/v2
INSTALL
IMPORT
SIG · CFHTTP-V2
C
cfhttp-v2
http-clientgov2.76.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cfhttp
code.cloudfoundry.org/cfhttp/v2

Create a preconfigured HTTP client

package main import ( "fmt" "net/http" "code.cloudfoundry.org/cfhttp/v2" ) func main() { client := cfhttp.NewClient() resp, err := client.Get("https://example.com") if err != nil { panic(err) } fmt.Println(resp.StatusCode) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.76.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
22
Resources
cfhttp-v2 — go get cfhttp-v2 · libregistry