smartsocket/dist/smartsocket.classes.smartsocketclient.d.ts
2016-08-09 23:37:25 +02:00

15 lines
498 B
TypeScript

import { ISocketFunctionCall } from "./smartsocket.classes.socketfunction";
import { SocketConnection } from "./smartsocket.classes.socketconnection";
/**
* interface for class SmartsocketClient
*/
export interface ISmartsocketClientOptions {
port: number;
url: string;
}
export declare class SmartsocketClient {
socketConnection: SocketConnection;
constructor(optionsArg: ISmartsocketClientOptions);
serverCall(functionNameArg: string, dataArg: ISocketFunctionCall): void;
}