src/Http.php
public function setCookie($cookie) {
        if (empty($cookie)) {
            return $this;
        }
        if (is_array($cookie)) {
            $cookie = http_build_query($cookie);
        }
        return $this->setOption(CURLOPT_COOKIE, $cookie);
    }
public function setCookie($cookie) {
        if (empty($cookie)) {
            return $this;
        }
        if (is_array($cookie)) {
            $cookie = http_build_query($cookie);
        }
        return $this->setOption(CURLOPT_COOKIE, $cookie);
    }
SET COOKIE
@param string|array $cookie
@return Http