axis-core
Version:
A Node.js library written in TypeScript containing shared behavior for the other packages, e.g. code handling communication and authentication with Axis Communication cameras.
22 lines • 733 B
TypeScript
import { Connection } from './Connection';
/**
* Abstract class describing a HTTP(S) request sent to an Axis device.
*/
export declare abstract class DeviceRequest extends Request {
/**
* Initializes a new instance of the class.
* @param connection The connection to the device.
* @param relativePath The relative path.
* @param init The object containing any custom settings that you want to apply to the request.
*/
protected constructor(connection: Connection, relativePath: string, init?: RequestInit);
/**
* Gets the username.
*/
readonly username: string;
/**
* Gets the password.
*/
readonly password: string;
}
//# sourceMappingURL=DeviceRequest.d.ts.map