Closed ayeshLK closed 1 month ago
ConnectionConfig
recordpublic type ConnectionConfig record {|
string host;
int port;
string cicsServer;
Auth auth;
SecureSocket secureSocket?;
|};
Auth
recordpublic type Auth record {|
string userId;
string password;
|};
SecureSocket
recordpublic type SecureSocket record {|
string sslKeyring;
string sslkeyringPassword?;
string[] sslCipherSuites?;
|};
EciRequest
recordpublic type EciRequest record {|
string programName;
byte[] commArea?;
int commAreaSize?;
int timeout = 10;
|};
Client
definitionpublic type Client distinct client object {
remote function execute(*EciRequest request) returns byte[]|Error?;
remote function close() returns Error?;
};
public type Error distinct error;
Description:
Related to: #207