Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomClientHelloSpec ¶
func GetCustomClientHelloSpec() *tls.ClientHelloSpec
GetCustomClientHelloSpec returns a custom Chrome 96 spec. Please note that this is a function and not a variable because UTLS doesn't allow this to be shared state.
Types ¶
type TLSAdapter ¶
type TLSAdapter struct {
// TLS fingerprint to use.
// Defaults to tls.HelloCustom.
Fingerprint utls.ClientHelloID
// Optional TLS configuration to use.
Config *utls.Config
}
TLSAdapter implements a custom gotcha.Adapter with advanced TLS options.
func New ¶
func New(config *utls.Config) *TLSAdapter
New creates a new gotcha adapter configured with a Chrome 96 browser TLS fingerprint.
func (*TLSAdapter) ConnectTLSContext ¶
Click to show internal directories.
Click to hide internal directories.