$inputscheme()

Return the current access scheme/protocol

Note that this is only useful for http/https, as we don't detect other schemes.

Usage

$string = $input->scheme();

Return value

string

Return value is either "https" or "http"


$input methods and properties

API reference based on ProcessWire core version 3.0.252