{"modulePath":"code.cloudfoundry.org/cfhttp","version":"v2.0.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cfhttp\n\n## Variables\n\n```go\nvar SUPPORTED_CIPHER_SUITES = []uint16{\n\ttls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,\n\ttls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,\n}\n```\n\n## Functions\n\n```go\nfunc Initialize(timeout time.Duration)\n```\n\n```go\nfunc NewClient() *http.Client\n```\n\n```go\nfunc NewCustomTimeoutClient(customTimeout time.Duration) *http.Client\n```\n\n```go\nfunc NewStreamingClient() *http.Client\n```\n\n```go\nfunc NewTLSConfig(certFile, keyFile, caCertFile string) (*tls.Config, error)\n```\n\n```go\nfunc NewTLSConfigWithCertPool(certFile, keyFile string, caCertPool *x509.CertPool) (*tls.Config, error)\n```\n\n```go\nfunc NewUnixClient(socketPath string) *http.Client\n```\n\n## Types\n\n```go\ntype Config struct {\n\tTimeout time.Duration\n}\n```\n\n","path":"code.cloudfoundry.org/cfhttp","name":"cfhttp","synopsis":"","isRedistributable":true}
