httpclient

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2021 SAP SE or an SAP affiliate company and Cloud Security Client Go contributors

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultHTTPClient

func DefaultHTTPClient(tlsConfig *tls.Config) *http.Client

DefaultHTTPClient

tlsConfig required in case of cert-based identity config

func DefaultTLSConfig

func DefaultTLSConfig(identity env.Identity) (*tls.Config, error)

DefaultTLSConfig creates default tls.Config. Initializes SystemCertPool with cert/key from identity config.

identity provides certificate and key

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL