@mojojs/core
Version:
Real-time web framework
12 lines (11 loc) • 311 B
TypeScript
import type { UserAgentWebSocketOptions } from '../../types.js';
import { WebSocket } from '../../websocket.js';
/**
* WebSocket transport class.
*/
export declare class WSTransport {
/**
* Establish WebSocket connection.
*/
connect(config: UserAgentWebSocketOptions): Promise<WebSocket>;
}