PyRepoClient constructor options.

interface Options {
    checkInterval?: number;
    combineRange?: boolean;
    commandLengthLimit?: number;
    commandTimeout?: number;
    cpOpts?: ConsumerOptions & ProducerOptions;
    notifyInterestLifetime?: number;
    pubAnnouncement?: false | Name;
    pubFwHint?: Name;
    pubPrefix?: Name;
    pubSigner?: Signer;
    repoPrefix: Name;
}

Hierarchy (view full)

Properties

checkInterval?: number

How often to check command progress in milliseconds.

1 second

combineRange?: boolean

If true, attempt to combine consecutive parameters into RangeParam.

false

commandLengthLimit?: number

Maximum TLV-LENGTH of each RepoCommandParam.

6144

commandTimeout?: number

Maximum duration of each command in milliseconds.

60 seconds

Consumer and producer options.

  • .fw may be specified.
  • Most other fields are overridden.
notifyInterestLifetime?: number

InterestLifetime of notify Interests.

pubAnnouncement?: false | Name

Prefix announcement to receive msg Interests.

.pubFwHint ?? .pubPrefix

pubFwHint?: Name

Forwarding hint of the local application.

pubPrefix?: Name

Name prefix of the local application.

"/localhost" + random-suffix

pubSigner?: Signer

Key to sign publications.

digestSigning

This key should be trusted to sign objects under pubPrefix. This may overridden on a per-publication basis by PublicationCallback returning Data.

repoPrefix: Name

Name prefix of the repo instance.

This corresponds to ndn-python-repo.conf .repo_config.repo_name key.