UNPKG

shellies-ds9

Version:

Handles communication with the next generation of Shelly devices

21 lines 762 B
import { Component } from './base'; import { Device } from '../devices'; export interface OutboundWebSocketAttributes { connected: boolean; } export interface OutboundWebSocketConfig { enable: boolean; server: string; ssl_ca: '*' | 'user_ca.pem' | 'ca.pem' | null; } /** * Makes it possible to configure a device to establish and maintain an outbound WebSocket connection. */ export declare class OutboundWebSocket extends Component<OutboundWebSocketAttributes, OutboundWebSocketConfig> implements OutboundWebSocketAttributes { /** * Whether an outbound WebSocket connection is established. */ readonly connected: boolean; constructor(device: Device); } //# sourceMappingURL=outbound-websocket.d.ts.map