Skip to content

Modern Docker Management, Designed for Everyone

354 B
Raw Blame
package httpx

import "time"

// ClientOptions configures timeouts for an outbound HTTP client.
// Durations are used as provided; a zero Timeout disables the request timeout.
type ClientOptions struct {
	Timeout               time.Duration
	TLSHandshakeTimeout   time.Duration
	DialTimeout           time.Duration
	ResponseHeaderTimeout time.Duration
}