$request->secure()

Checks if this is a secure request (SSL)

  • return (boolean)
if(kirby()->request()->secure()) {
  echo 'This is a secure request';
}

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