Lines Matching refs:protocol
59 $protocol = $this->getHeader('X_FORWARDED_PROTO');
60 if ($protocol) {
61 return $this->protocolWithActiveSsl($protocol);
64 $protocol = $this->getServerVar('HTTPS');
65 if ($protocol) {
66 return $this->protocolWithActiveSsl($protocol);
75 * @param string $protocol
79 protected function protocolWithActiveSsl($protocol) argument
81 $protocol = strtolower((string)$protocol);
83 return in_array($protocol, ['on', '1', 'https', 'ssl'], true);
133 $protocol = (string)$this->getHeader('X_FORWARDED_PROTO');
134 if ($protocol === 'https') {