MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithHeaderHandler

Function WithHeaderHandler

net/signed/options.go:49–55  ·  view source on GitHub ↗

WithHeaderHandler sets the writer and the parser. The writer knows how to write the hash value into the HTTP header. The parser knows how and where to extract the hash value from the header or even the trailer. Compatible types in this package are ContentHMAC, ContentSignature and Transparent.

(pw HeaderParseWriter, scopeIDs ...scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

findScopedConfigMethod · 0.45
updateScopedConfigMethod · 0.45

Tested by

no test coverage detected