$request->scheme()

Returns the URL scheme (http, https, ftp, etc.)

  • return (string)
echo kirby()->request()->scheme();

Is something missing or incorrect? Edit this page on Github…