http

package
v1.18.0-RC7 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Utility methods and types to work with HTTP requests and responses.

Index

Constants

View Source
const (
	RetryWaitMax = 120 * time.Second
	RetryMax     = 60
)

Variables

This section is empty.

Functions

func CleanClient added in v1.8.6

func CleanClient() *http.Client

func NewClient

func NewClient() *http.Client

NewClient creates default http.Client with timeouts.

func NewRetryableClient

func NewRetryableClient(verbose bool) *retryablehttp.Client

NewRetryableClient creates default retryablehttp.Client with timeouts and embedded NewClient result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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