Amazon_S3_And_CloudFront::get_s3_url_scheme PHP Method

get_s3_url_scheme() public method

Return the scheme to be used in URLs
public get_s3_url_scheme ( boolean | null $use_ssl = null ) : string
$use_ssl boolean | null
return string
    function get_s3_url_scheme($use_ssl = null)
    {
        if ($this->use_ssl($use_ssl)) {
            $scheme = 'https';
        } else {
            $scheme = 'http';
        }
        return $scheme;
    }
Amazon_S3_And_CloudFront