$request->ssl()

Checks if this is an SSL request

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

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