Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Interest

Interest packet.

Hierarchy

  • PublicFields
    • 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
hopLimit: number
lifetime: number
mustBeFresh: boolean = false
name: Name = ...
nonce: undefined | number
sigInfo?: SigInfo
sigValue: Uint8Array = ...

Methods

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

Generated using TypeDoc