http

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCookies

func GetCookies(c *http.Client, rawURL string) (string, error)

func NewClient

func NewClient(ja3, userAgent, lang, proxyURL string) (*http.Client, error)

func NewDialer

func NewDialer(ja3, userAgent, lang, proxyURL string) (func(ctx context.Context, network, addr string) (net.Conn, error), error)

func NewGoClient

func NewGoClient(ja3, userAgent, lang, proxyURL string) (*httpgo.Client, error)

func SetCookies

func SetCookies(c *http.Client, rawURL string, rawCookies string) error

func StringToSpec

func StringToSpec(ja3 string, userAgent string) (*utls.ClientHelloSpec, error)

StringToSpec creates a ClientHelloSpec based on a JA3 string

Types

type ContextKeyHeader

type ContextKeyHeader struct{}

ContextKeyHeader Users of context.WithValue should define their own types for keys

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL