feat: méthode WebSocket HA pour Lovelace + vue lumières créée

This commit is contained in:
Nox
2026-02-22 18:28:34 +00:00
parent 7d6605e33e
commit 917d1da7c0
668 changed files with 198094 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Metadata } from "./metadata";
export declare function decodeASCII(input: Uint8Array): string;
export declare function encodeASCII(input: string): Uint8Array;
export declare enum ChunkType {
MESSAGE = 1,
TRAILERS = 2
}
export declare type Chunk = {
chunkType: ChunkType;
trailers?: Metadata;
data?: Uint8Array;
};
export declare class ChunkParser {
buffer: Uint8Array | null;
position: number;
parse(bytes: Uint8Array, flush?: boolean): Chunk[];
}