Basho\Riak\Api\Http::prepareRequestUrl PHP Method

prepareRequestUrl() protected method

Prepares the complete request URL
protected prepareRequestUrl ( )
    protected function prepareRequestUrl()
    {
        $protocol = $this->node->useTls() ? 'https' : 'http';
        $url = sprintf('%s://%s%s?%s', $protocol, $this->node->getUri(), $this->path, $this->query);
        // set the built request URL on the connection
        $this->options[CURLOPT_URL] = $url;
        return $this;
    }