netflux
Version:
Peer to peer isomorphic transport API based on WebRTC and WebSocket. Allows to create/join full mesh network
28 lines (27 loc) • 958 B
TypeScript
import { LogLevel as Logs } from './misc/util';
export { WebGroup, WebGroupOptions, DataType } from './WebChannelFacade';
export declare function setLogLevel(...levels: Logs[]): void;
export declare class SignalingState {
static readonly CONNECTING: number;
static readonly OPEN: number;
static readonly CLOSED: number;
static readonly CHECKING: number;
static readonly CHECKED: number;
}
export declare class WebGroupState {
static readonly JOINING: number;
static readonly JOINED: number;
static readonly LEFT: number;
}
export declare class Topology {
static readonly FULL_MESH: number;
}
export declare class LogLevel {
static readonly DEBUG: number;
static readonly WEB_GROUP: number;
static readonly WEBRTC: number;
static readonly CHANNEL: number;
static readonly TOPOLOGY: number;
static readonly SIGNALING: number;
static readonly CHANNEL_BUILDER: number;
}