public function setCookie($cookie) { $this->cookie = $cookie; $this->queryParameters["Cookie"] = $cookie; }