Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct { RootCAs *x509.CertPool InsecureSkipVerify bool // contains filtered or unexported fields }
Transport implements http.RoundTripper with the ability to be fingerprinted as a Chrome browser. It tries to evade TLS fingerprinting and sends common browser headers.
The transport does not overwrite user-specified headers, so the user is able to specify, for example, a custom "Accept-Language" header. Use with care, as this might thwart evasion efforts.
When setting the "Accept-Encoding" header, the user is responsible for decoding the request body.
There's no idle connection pool implemented yet, so the connections are closed after serving a request.
Click to show internal directories.
Click to hide internal directories.