Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

commons.d.ts 510B

1234567891011121314
  1. declare const PACKET_TYPES: any;
  2. declare const PACKET_TYPES_REVERSE: any;
  3. declare const ERROR_PACKET: Packet;
  4. export { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };
  5. export declare type PacketType = "open" | "close" | "ping" | "pong" | "message" | "upgrade" | "noop" | "error";
  6. export declare type RawData = any;
  7. export interface Packet {
  8. type: PacketType;
  9. options?: {
  10. compress: boolean;
  11. };
  12. data?: RawData;
  13. }
  14. export declare type BinaryType = "nodebuffer" | "arraybuffer" | "blob";