SproutCMS

This is the code documentation for the SproutCMS project

function protocol()

Returns the current request protocol, based on $_SERVER['https']. In CLI
mode, NULL will be returned.

Usage

string Request::protocol ( );

Return value

  • string