Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Interest

Index

Type aliases

CtorArg: NameLike | FwHint | CtorTag | Uint8Array

Constructor argument.

A structure to modify an existing Interest.

ModifyFunc: (interest: Interest) => void

Type declaration

    • A function to modify an existing Interest.

      Parameters

      Returns void

Variables

CanBePrefix: CtorTag = ...

Constructor argument to set CanBePrefix flag.

DefaultLifetime: 4000 = 4000

Default InterestLifetime.

MustBeFresh: CtorTag = ...

Constructor argument to set MustBeFresh flag.

Functions

  • HopLimit(v: number): CtorTag
  • Lifetime(v: number): CtorTag
  • Nonce(v?: number): CtorTag
  • Parameterize(input: Uint8Array): Promise<Uint8Array>
  • generateNonce(): number

Generated using TypeDoc