Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 586 Bytes

TESTSERVER.md

File metadata and controls

29 lines (25 loc) · 586 Bytes

API-method testserver

Signature

string testserver(
  string host, 
  int port, 
  string username, 
  string password, 
  bool encryption, 
  string cipher, 
  int timeout
);

Description

Tries to connect to a server.

Arguments

  • host (string) - Server host.
  • port (int) - Port.
  • username (string) - User name.
  • password (string) - User password.
  • encryption (bool) - The inscription should be used.
  • cipher (string) - Cipher for use.
  • timeout (int) - Connection timeout.

Return value

string result.