cclient
cclient copied to clipboard
Drop in HTTP client that allows for spoofing TLS fingerprint with uTLS and adds support for proxying TLS connections.
CClient
Fixes TLS and stuff.
Example
package main
import (
"log"
"github.com/refraction-networking/utls"
"github.com/x04/cclient"
)
func main() {
client, err := cclient.NewClient(tls.HelloChrome_Auto)
if err != nil {
log.Fatal(err)
}
resp, err := client.Get("https://www.google.com/")
if err != nil {
log.Fatal(err)
}
resp.Body.Close()
log.Println(resp.Status)
}