Chunk sizing options.
Options to serve().
Options to serveVersioned().
Alias of IterableChunkSource, which accepts NodeJS stream.Readable.
Discover version with CanBePrefix.
Create a chunk source, auto detecting input type.
Use of this function is discouraged as it pulls in ChunkSource implementations not needed by your application. It's recommended to construct a ChunkSource implementation directly.
Create a chunk source, auto detecting input type.
Use of this function is discouraged as it pulls in ChunkSource implementations not needed by your application. It's recommended to construct a ChunkSource implementation directly.
Start serving a segmented object.
Data prefix excluding segment number.
where to read segment payload chunks.
other options.
This function does not automatically add a version component to the name prefix. If a version component is desired, use serveVersions() function instead.
Generated using TypeDoc
@ndn/segmented-object
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package implements functions to publish and retrieve segmented objects.
@ndn/cat
package is a command line program that uses this package, and serves as an example.The consumer functionality:
@ndn/rdr
package).Verifier
(fixed key or trust schema).The producer functionality:
Uint8Array
.Blob
in browser).@ndn/rdr
package).Signer
(fixed key or trust schema).