Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Interest

Index

Type aliases

CtorArg

CtorArg: NameLike | typeof CanBePrefix | typeof MustBeFresh | FwHint | CtorTag | Uint8Array

Constructor argument.

Modify

A structure to modify an existing Interest.

ModifyFunc

ModifyFunc: (interest: Interest) => void

Type declaration

    • A function to modify an existing Interest.

      Parameters

      Returns void

Variables

Const CanBePrefix

CanBePrefix: typeof CanBePrefix = ...

Constructor argument to set CanBePrefix flag.

Const DefaultLifetime

DefaultLifetime: 4000 = 4000

Default InterestLifetime.

Const MustBeFresh

MustBeFresh: typeof MustBeFresh = ...

Constructor argument to set MustBeFresh flag.

Functions

HopLimit

  • HopLimit(v: number): CtorTag

Lifetime

  • Lifetime(v: number): CtorTag

Nonce

  • Nonce(v?: number): CtorTag

Const Parameterize

  • Parameterize(input: Uint8Array): Promise<Uint8Array>

generateNonce

  • generateNonce(): number

makeModifyFunc

Generated using TypeDoc