Mailjet\Client::setSecureProtocol PHP Метод

setSecureProtocol() публичный Метод

Sets if we need to use https or http protocol while using API Url
public setSecureProtocol ( boolean $bIsSecured ) : boolean
$bIsSecured boolean True use https / false use http
Результат boolean true if we set value false otherwise
    public function setSecureProtocol($bIsSecured)
    {
        if (is_bool($bIsSecured)) {
            $this->secure = $bIsSecured;
            return true;
        }
        return false;
    }