Documentation
¶
Overview ¶
Package httptransport provides reusable HTTP client transport helpers for proxy-aware scraping runtimes.
Index ¶
Constants ¶
View Source
const DefaultTimeout = 15 * time.Second
DefaultTimeout is used when a client timeout is not explicitly provided.
Variables ¶
This section is empty.
Functions ¶
func IsSOCKSProxy ¶
IsSOCKSProxy reports whether a proxy URL uses a supported SOCKS scheme.
Types ¶
type Profile ¶
Profile describes how to build an HTTP client transport.
func InferProfile ¶
InferProfile derives an HTTP transport profile from a raw proxy URL.
func NormalizeProfile ¶
NormalizeProfile trims and validates a profile before it is used to build a client.
Click to show internal directories.
Click to hide internal directories.