Upsilon-VsCode/Client/node_modules/vscode-jsonrpc/lib/socketSupport.d.ts

8 lines
427 B
TypeScript
Raw Normal View History

2019-02-17 17:07:28 +00:00
import { MessageReader } from './messageReader';
import { MessageWriter } from './messageWriter';
export interface SocketTransport {
onConnected(): Thenable<[MessageReader, MessageWriter]>;
}
export declare function createClientSocketTransport(port: number, encoding?: string): Thenable<SocketTransport>;
export declare function createServerSocketTransport(port: number, encoding?: string): [MessageReader, MessageWriter];