interface Options {
    cpOpts?: ConsumerOptions & ProducerOptions;
    endpoint?: Endpoint;
    msgInterestLifetime?: number;
    msgRetx?: RetxPolicy;
    pubVerifier?: Verifier;
    subAnnouncement?: false;
    subSigner?: Signer;
}

Properties

Consumer and producer options.

Remarks

  • .fw may be specified.
  • Most other fields are overridden.
endpoint?: Endpoint

Endpoint for communication.

Deprecated

Specify .cpOpts.

msgInterestLifetime?: number

InterestLifetime of msg Interests.

msgRetx?: RetxPolicy

Retransmission policy of msg Interests.

Default Value

2 retransmissions
pubVerifier?: Verifier

Verifier for publications.

Default Value

no verification
subAnnouncement?: false

Set to false to disable prefix announcements for receiving notify Interests.

Remarks

This should be set only if the application already has a prefix announcement that covers the topic of each subscription.

subSigner?: Signer

Key to sign notify Data.

Default Value

digestSigning