API reference
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.
Introduction
Installation manuals
- Installation on Windows
- Installation on Windows via WinGet
- Installation on macOS
- Installation on macOS via Homebrew
- Installation on Linux
- Installation on Docker
- Installation on Docker - LinuxServer.io version
- Installation on Android
- Installation on Synology
- Installation on QNAP
- Installation on other NAS devices
Building manuals
Configuration
- Backup And Restore Settings
- Performance Tips
- Choosing Cipher
- Behind Other Web Server
- TLS certificate verification
Usage
- Quick Filter
- Keyboard Shortcuts
- RSS and duplicate check
- VideoSort
- Console Mode
- Command Line Reference
- Performing Speed Tests
Development
Extensions
- Extension Scripts
- Post-processing scripts
- Scan Scripts
- Queue Scripts
- Scheduler Scripts
- Feed Scripts
- API reference