_propDict)) { return $this->_propDict["origin"]; } else { return null; } } /** * Sets the origin * Represents the origin or source from which the request is being made. * * @param string $val The value of the origin * * @return Headers */ public function setOrigin($val) { $this->_propDict["origin"] = $val; return $this; } /** * Gets the referrer * Represents the referring URL or the URL of the web page that the current request originates from. * * @return string|null The referrer */ public function getReferrer() { if (array_key_exists("referrer", $this->_propDict)) { return $this->_propDict["referrer"]; } else { return null; } } /** * Sets the referrer * Represents the referring URL or the URL of the web page that the current request originates from. * * @param string $val The value of the referrer * * @return Headers */ public function setReferrer($val) { $this->_propDict["referrer"] = $val; return $this; } /** * Gets the xForwardedFor * Represents the information about the client original IP address when the request passes through one or more proxy servers or load balancers. * * @return string|null The xForwardedFor */ public function getXForwardedFor() { if (array_key_exists("xForwardedFor", $this->_propDict)) { return $this->_propDict["xForwardedFor"]; } else { return null; } } /** * Sets the xForwardedFor * Represents the information about the client original IP address when the request passes through one or more proxy servers or load balancers. * * @param string $val The value of the xForwardedFor * * @return Headers */ public function setXForwardedFor($val) { $this->_propDict["xForwardedFor"] = $val; return $this; } }