Documentation
¶
Overview ¶
Package httpclient provides optional net/http convenience wrappers around github.com/oarkflow/fh/pkg/httpsignature's RFC 9421 response-signature verification.
It is kept out of the core httpsignature package deliberately: callers that already have the response fields extracted (most notably a WASM browser client using the Fetch API instead of net/http) can call httpsignature.Verifier.VerifyMessage directly and never import net/http at all. Merely importing net/http — even unused — pulls in its dependency graph (crypto/tls, crypto/x509, compress/gzip, and more) and adds several megabytes to a compiled Go/WASM binary. Use this package only when you have a real *http.Request/*http.Response pair from net/http.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.