Options
All
  • Public
  • Public/Protected
  • All
Menu

Interest packet.

Hierarchy

  • Fields
    • Interest

Implements

Index

Constructors

  • Construct from flexible arguments.

    Arguments can include, in any order:

    • Interest to copy from
    • Name or name URI
    • Interest.CanBePrefix
    • Interest.MustBeFresh
    • FwHint
    • Interest.Nonce(v)
    • Interest.Lifetime(v)
    • Interest.HopLimit(v)
    • Uint8Array as AppParameters

    Parameters

    Returns Interest

Properties

[FIELDS]: Fields
appParameters?: Uint8Array
canBePrefix: boolean = false
fwHint?: FwHint
mustBeFresh: boolean = false
name: Name = ...
paramsPortion?: Uint8Array
sigInfo?: SigInfo
sigValue: Uint8Array = ...
signedPortion?: Uint8Array

Accessors

  • get hopLimit(): number
  • set hopLimit(v: number): void
  • get lifetime(): number
  • set lifetime(v: number): void
  • get nonce(): undefined | number
  • set nonce(v: undefined | number): void

Methods

  • [OP](sign: LLSign): Promise<void>
  • encodeTo(encoder: Encoder): void
  • updateParamsDigest(): Promise<void>
  • validateParamsDigest(): Promise<void>

Generated using TypeDoc