feat: méthode WebSocket HA pour Lovelace + vue lumières créée
This commit is contained in:
+17
@@ -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[];
|
||||
}
|
||||
Reference in New Issue
Block a user