src/ieu/Http/Request.php
protected function protocolWithActiveSsl($protocol) : bool
  {
      $protocol = strtolower((string)$protocol);
      return in_array($protocol, ['on', '1', 'https', 'ssl'], true);
  }
protected function protocolWithActiveSsl($protocol) : bool
  {
      $protocol = strtolower((string)$protocol);
      return in_array($protocol, ['on', '1', 'https', 'ssl'], true);
  }
protected function protocolWithActiveSsl ( $ protocol ) : bool { $ protocol = strtolower ( ( string ) $ protocol ) ; return in_array ( $ protocol , [ 'on' , '1' , 'https' , 'ssl' ] , true ) ; }
Detects an active SSL protocol value.

@param string $protocol

@return boolean
Detects an active SSL protocol value .