smartsocket/dist/smartsocket.classes.smartsocketclient.d.ts

15 lines
498 B
TypeScript
Raw Normal View History

2016-08-09 21:37:25 +00:00
import { ISocketFunctionCall } from "./smartsocket.classes.socketfunction";
import { SocketConnection } from "./smartsocket.classes.socketconnection";
2016-08-07 16:59:39 +00:00
/**
* interface for class SmartsocketClient
*/
export interface ISmartsocketClientOptions {
port: number;
url: string;
}
export declare class SmartsocketClient {
2016-08-09 21:37:25 +00:00
socketConnection: SocketConnection;
constructor(optionsArg: ISmartsocketClientOptions);
serverCall(functionNameArg: string, dataArg: ISocketFunctionCall): void;
2016-08-07 16:59:39 +00:00
}