type alias Device

Where a device is and how to log in.

Plain data: every function in this package takes it as its first argument, and nothing is cached in it.

Properties

baseUrl: string

Scheme, host and port, such as http://192.0.2.10 or http://192.0.2.10:65001.

username: string

The ISAPI user name.

password: string

The ISAPI password.

optional
fetch: globalThis.fetch

The fetch to use. Defaults to the global one.

Usage

import { type Device } from ".";