Documentation ¶
Index ¶
- func BrowserToClientHelloSpec(browser *device_utils.Browser, extensionMapFunc ExtensionMapFunc) (*utls.ClientHelloSpec, error)
- func CreateSpecWithJA3Str(ja3Str string) (clientHelloSpec utls.ClientHelloSpec, err error)
- func CreateSpecWithTLSFingerprint(fingerprint *device_utils.Browser_TLSFingerprint) (clientHelloSpec utls.ClientHelloSpec, err error)
- func DefaultExtensionMapV2() map[int32]utls.TLSExtension
- func IsGREASEUint16(v uint16) bool
- type ExtensionMapFunc
- type HTTP2ParametersOption
- type Ja3SpoofingOptionV2
- type ProxyOptiondeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrowserToClientHelloSpec ¶ added in v0.0.2
func BrowserToClientHelloSpec(browser *device_utils.Browser, extensionMapFunc ExtensionMapFunc) (*utls.ClientHelloSpec, error)
func CreateSpecWithJA3Str ¶ added in v0.0.5
func CreateSpecWithJA3Str(ja3Str string) (clientHelloSpec utls.ClientHelloSpec, err error)
func CreateSpecWithTLSFingerprint ¶ added in v0.0.10
func CreateSpecWithTLSFingerprint(fingerprint *device_utils.Browser_TLSFingerprint) (clientHelloSpec utls.ClientHelloSpec, err error)
func DefaultExtensionMapV2 ¶ added in v0.0.2
func DefaultExtensionMapV2() map[int32]utls.TLSExtension
func IsGREASEUint16 ¶ added in v0.0.5
Types ¶
type ExtensionMapFunc ¶ added in v0.0.2
type ExtensionMapFunc func() map[int32]utls.TLSExtension
type HTTP2ParametersOption ¶ added in v0.0.20
type Ja3SpoofingOptionV2 ¶ added in v0.0.2
type Ja3SpoofingOptionV2 struct { TLSConfig *tls.Config ClientHelloSpec *utls.ClientHelloSpec Browser *device_utils.Browser ClientHelloID *utls.ClientHelloID ExtensionMap func() map[int32]utls.TLSExtension IsHTTP1 bool ECHConfig *utls.GREASEEncryptedClientHelloExtension }
func NewJa3SpoofingOptionV2 ¶ added in v0.0.2
func NewJa3SpoofingOptionV2(clientHelloSpec *utls.ClientHelloSpec, clientHelloId *utls.ClientHelloID) *Ja3SpoofingOptionV2
type ProxyOption
deprecated
added in
v0.0.2
type ProxyOption struct {
ProxyURL string
}
ProxyOption sets a proxy on your HTTP transport, supports http, https, socks4 and socks5.
Deprecated: This option was needed to handle oohttp Transports in the past, reflection now handles both in one function. Use github.com/BRUHItsABunny/gOkHttp/client instead.
func NewProxyOption
deprecated
added in
v0.0.2
func NewProxyOption(proxyURL string) *ProxyOption
NewProxyOption Creates an ProxyOption that sets a proxy on your HTTP transport, supports http, https, socks4 and socks5.
Deprecated: This option was needed to handle oohttp Transports in the past, reflection now handles both in one function. Use github.com/BRUHItsABunny/gOkHttp/client instead.
Click to show internal directories.
Click to hide internal directories.