Skip to content

lkrequest-go v0.1.0

Choose a tag to compare

@ezxlabs-admin ezxlabs-admin released this 12 Aug 11:02
· 7 commits to main since this release

πŸš€ Features

  • TLS Fingerprint Control β€” Byte-level ClientHello matching real browsers, via named presets
  • HTTP/2 Fingerprint Control β€” SETTINGS frame order, pseudo-header order, WINDOW_UPDATE, PRIORITY frames
  • HTTP/3 + QUIC β€” Feature-gated (FeatureSupported("quic-h3")): HTTP/3 over QUIC with fingerprint-aware Transport Parameters, Alt-Svc auto-discovery, and H2β†’H3 upgrade; per-request protocol preference (SetPreferredHTTPVersion) and negotiated version (Response.NegotiatedVersion)
  • Built-in Browser Presets β€” Chrome 131/144/145/146/147/148/149/150, Firefox 133/147, Safari 18/26
  • Fingerprint Randomization β€” Per-connection TLS extension-order jitter (drifts JA3, stays a real browser); synthetic cross-layer identities with a synthetic-fp library (ClientBuilder.SetRandomize)
  • Custom TCP Fingerprint β€” JA4T-style TCP fingerprinting (SetTCPFingerprintJA4T)
  • Header / Cookie Order β€” Send order configurable at client / session / request levels (AddHeaderOrder / AddH3HeaderOrder / AddCookieOrder)
  • Dual Binding Engine β€” purego (default, no C compiler, embedded library) and cgo (lkcgo build tag, static link)
  • Session Management β€” Cookie jar, connection pooling, HTTP/2 multiplexing, redirect and retry policy
  • Retry Policies β€” Fixed interval / exponential backoff (with jitter)
  • Proxy Support β€” SOCKS5 and HTTP CONNECT; per-session and per-request overrides
  • Proxy Pool & Session Pool β€” Rotation (round-robin / random), health checks, and bad-proxy marking
  • Custom DNS Resolver β€” Built-in DoH (Google / Cloudflare / Quad9) or a pluggable resolver with HTTPS/SVCB lookup
  • SOCKS5 UDP Relay Probing β€” Detect UDP ASSOCIATE support for QUIC-over-SOCKS5 (Client.Socks5UDPProbe)
  • Connection Prewarming β€” Preconnect / PreconnectAsync to pre-establish DNS + TCP + TLS
  • Streaming Responses β€” StreamingResponse implements io.ReadCloser
  • Multipart / Form-Data β€” Text and file uploads
  • Authentication β€” Bearer token and basic auth
  • Auto-Decompression β€” gzip / br / deflate / zstd, controllable via AcceptEncoding
  • Certificate Management β€” Custom CA, verify toggle, native certs, ECH, and TLS keylog
  • Context Support β€” Cancelable (SendWithContext) and async (SendAsync, channel-based) sends
  • Request Diagnostics β€” Per-phase timings (DNS / TCP / TLS / TTFB) via DiagnosticsJSON
  • Typed Errors β€” Error code, phase, retryable flag, and diagnostics on LkError