homebridge-hikvision-local
Version:
Homebridge plugin that connects to your HikVision DVR via a local connection and exposes your cameras in Homebridge. The plugin is heavily based on excellent [homebridge-camera-ffmpeg](https://github.com/Sunoo/homebridge-camera-ffmpeg) and the various hom
17 lines • 525 B
TypeScript
import { EventEmitter } from 'events';
/**
* Parses multipart-style stream parts that include `Content-Length` headers.
* Emits `message` events with { headers, body }.
*/
export declare class MultipartXmlStreamParser extends EventEmitter {
private buffer;
private processing;
write(chunk: string | Buffer): void;
private processBuffer;
private parseHeaders;
}
export interface ParsedPart {
headers: Record<string, string>;
body: string;
}
//# sourceMappingURL=MultiPartXMLStreamParser.d.ts.map