src/Http.php
public function url($url, array $maps = [], $func = null, $verifySSL = false) {
        if (!empty($url)) {
            $this->uri = !$url instanceof Uri ? new Uri((string)$url) : $url;
        }
        $this->uriMaps = $maps;
        $this->uriEncodeFunc = $func;
        $this->verifySSL = $verifySSL;
        return $this;
    }
public function url($url, array $maps = [], $func = null, $verifySSL = false) {
        if (!empty($url)) {
            $this->uri = !$url instanceof Uri ? new Uri((string)$url) : $url;
        }
        $this->uriMaps = $maps;
        $this->uriEncodeFunc = $func;
        $this->verifySSL = $verifySSL;
        return $this;
    }
设置网址
@param string|Uri $url
@param array $maps
@param null $func
@param bool $verifySSL
@return Http