Lines Matching refs:url
190 * @param string $url
195 function propFind($url, array $properties, $depth = 0) { argument
221 $url = $this->getAbsoluteUrl($url);
223 $request = new HTTP\Request('PROPFIND', $url, [
261 * @param string $url
265 function propPatch($url, array $properties) { argument
274 $url = $this->getAbsoluteUrl($url);
275 $request = new HTTP\Request('PROPPATCH', $url, [
331 * @param string $url
337 function request($method, $url = '', $body = null, array $headers = []) { argument
339 $url = $this->getAbsoluteUrl($url);
341 $response = $this->send(new HTTP\Request($method, $url, $headers, $body));
354 * @param string $url
357 function getAbsoluteUrl($url) { argument
360 if (preg_match('/^http(s?):\/\//', $url)) {
361 return $url;
366 if (strpos($url, '/') === 0) {
368 …ts['scheme'] . '://' . $parts['host'] . (isset($parts['port']) ? ':' . $parts['port'] : '') . $url;
372 return $this->baseUri . $url;