+
+
+ /**
+ * Returns the base URL to use for requests.
+ * Includes username, password and host.
+ *
+ * @return string URL without trailing slash after the host
+ */
+ protected function getBaseUrl()
+ {
+ return 'http://'
+ . $this->user
+ . ':' . $this->password
+ . '@' . $this->host;
+ }
+
+