Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTP2Settings ¶
type HTTP2Settings struct {
HeaderTableSize uint32
EnablePush bool
MaxConcurrentStreams uint32
InitialWindowSize uint32
MaxFrameSize uint32
MaxHeaderListSize uint32
// Window update and stream settings
ConnectionWindowUpdate uint32
StreamWeight uint16 // Chrome uses 256
StreamExclusive bool
}
HTTP2Settings contains HTTP/2 connection settings
type PlatformInfo ¶
type PlatformInfo struct {
UserAgentOS string // e.g., "(Windows NT 10.0; Win64; x64)" or "(X11; Linux x86_64)"
Platform string // e.g., "Windows", "Linux", "macOS"
Arch string // e.g., "x86", "arm"
PlatformVersion string // e.g., "10.0.0", "6.12.0", "14.7.0"
FirefoxUserAgentOS string // Firefox has slightly different format
}
PlatformInfo contains platform-specific header values
func GetPlatformInfo ¶
func GetPlatformInfo() PlatformInfo
GetPlatformInfo returns platform-specific info based on runtime OS
type Preset ¶
type Preset struct {
Name string
ClientHelloID tls.ClientHelloID
UserAgent string
Headers map[string]string
HTTP2Settings HTTP2Settings
SupportHTTP3 bool
}
Preset represents a browser fingerprint configuration
func Chrome141 ¶
func Chrome141() *Preset
Chrome141 returns the Chrome 141 fingerprint preset (latest)
func Chrome143Windows ¶
func Chrome143Windows() *Preset
Chrome143Windows returns Chrome 143 with Windows platform
Click to show internal directories.
Click to hide internal directories.