Mailjet\Client::setSecureProtocol PHP Method

setSecureProtocol() public method

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
return boolean true if we set value false otherwise
    public function setSecureProtocol($bIsSecured)
    {
        if (is_bool($bIsSecured)) {
            $this->secure = $bIsSecured;
            return true;
        }
        return false;
    }