modulepackage
0.0.0-20220812203310-6cf3b8e8ad75
Repository: https://github.com/hunterbdm/hello-requests.git
Documentation: pkg.go.dev
# README
hello-requests
Easy to use golang based request client made to be indistinguishable from popular browser/OS combinations (When configured properly)
Features:
- Mimic TLS client hello (most credit to https://github.com/refraction-networking/utls)
- Mimic HTTP2 frames from modern browsers
- Mimic HTTP2 header order from modern browsers
- Custom header ordering (Outside of the H2 headers)
- Custom idle connection timeouts
- Custom request timeouts
- Proxy support
- JSON/Form Data/Query String body building
- Byte request bodies can be passed in as Base64
Noted:
- I haven't updated any of the fingerprints in a while (mimic/mimic.go)
- If no
MimicBrowser
string is passed it defaults to chrome - If you don't pass some important headers it may cause issues
- Some domains may handle the TLS client hello differently and cause TLS errors
# Packages
No description provided by the author
Package http provides HTTP client and server implementations.
No description provided by the author
No description provided by the author
No description provided by the author
Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446.
# Functions
No description provided by the author
GetHttpClient returns mapped http Clients.
No description provided by the author
SetDefaultClientSettings overrides default ClientSettings config.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author