set_secure
Description:
This function provides a simpler way to set method when using a secure network connection is a yes or no option and the exact method name is unimportant.
If secure is false, the method
property is set to "none". If secure is true, the function assumes the backend will use Transport Layer Security and
sets the method property to "tls".
Parameters:
| this | |
| secure |
whether a secure network connection is desired |