]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/IHTTPRequest.php
Revert "HTTPRequest: Replace getInfo() with new parameter 'content_length'"
[friendica.git] / src / Network / IHTTPRequest.php
index 3ebcc5dc1bc6316e01f0af50085d4ed901f09452..3f9b7f27a132700d6dddadac5e0c3d2492a53c23 100644 (file)
@@ -57,7 +57,7 @@ interface IHTTPRequest
         * @param string $accept_content  supply Accept: header with 'accept_content' as the value
         * @param string $cookiejar       Path to cookie jar file
         *
-        * @return CurlResult With all relevant information, 'body' contains the actual fetched content.
+        * @return IHTTPResult With all relevant information, 'body' contains the actual fetched content.
         */
        public function fetchFull(string $url, bool $binary = false, int $timeout = 0, string $accept_content = '', string $cookiejar = '');
 
@@ -76,7 +76,7 @@ interface IHTTPRequest
         *                           'cookiejar' => path to cookie jar file
         *                           'header' => header array
         *
-        * @return CurlResult
+        * @return IHTTPResult
         */
        public function get(string $url, bool $binary = false, array $opts = []);
 
@@ -88,7 +88,7 @@ interface IHTTPRequest
         * @param array  $headers HTTP headers
         * @param int    $timeout The timeout in seconds, default system config value or 60 seconds
         *
-        * @return CurlResult The content
+        * @return IHTTPResult The content
         */
        public function post(string $url, $params, array $headers = [], int $timeout = 0);