setEncryption method

dynamic setEncryption(
  1. bool encrypted
)

Configure whether or not to use an encrypted SSL/TLS connection to communicate with the server.

When using encryption you should connect to the ports of the MigratoryData server that are configured with the parameter \c ListenEncrypted to listen for encrypted connections. \param encrypted indicate whether or not to use an encrypted SSL/TLS connection to communicate with the server

Implementation

setEncryption(bool encrypted) {
  clientImpl.setEncryption(encrypted);
}