Correct way of getting the current page uri

The built-in redirect_canonical() uses the following:

$requested_url  = is_ssl() ? 'https://' : 'http://';                                                                                                                                           
$requested_url .= $_SERVER['HTTP_HOST'];                                                                                                                                                       
$requested_url .= $_SERVER['REQUEST_URI'];

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş