Mailjet\Client::getApiUrl PHP Méthode

getApiUrl() private méthode

Build the base API url depending on wether user need a secure connection or not
private getApiUrl ( ) : string
Résultat string the API url;
    private function getApiUrl()
    {
        $h = $this->secure ? 'https' : 'http';
        return $h . '://api.mailjet.com/' . $this->version;
    }