interface ExecuteOptions

Options required for executing commands on the router. These values are obtained from authenticate.

Properties

encryption: Encryption

Encryption instance for payload encryption/decryption

sequence: number

Sequence number for request signing

sessionId: string

Session ID from authentication

tokenId: string

Security token from authentication

optional
authTimes: number

Authentication times counter (defaults to 1)

optional
dialect: Dialect

Firmware dialect to speak (defaults to gdprText)

optional
fetch: globalThis.fetch

Swappable fetch, for tests or non-standard HTTP stacks

Usage

import { type ExecuteOptions } from "mod.ts";