MCPcopy Create free account
hub / github.com/WICG/webpackage / Bundle

Struct Bundle

go/bundle/bundle.go:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45type Bundle struct {
46 Version version.Version
47 PrimaryURL *url.URL
48 Exchanges []*Exchange
49 ManifestURL *url.URL
50 Signatures *Signatures
51}
52
53// AddPayloadIntegrity encodes the exchange's payload with Merkle Integrity
54// content encoding, and adds `Content-Encoding` and `Digest` response headers.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected