X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FIHTTPRequest.php;h=49993085e63c938597415e509edce2784abb5056;hb=16f5965fd444a4f5d28906623a5ceba5e41cc138;hp=3ebcc5dc1bc6316e01f0af50085d4ed901f09452;hpb=398e65d66b929a4931f62477f86ea1df6fe99c9a;p=friendica.git diff --git a/src/Network/IHTTPRequest.php b/src/Network/IHTTPRequest.php index 3ebcc5dc1b..49993085e6 100644 --- a/src/Network/IHTTPRequest.php +++ b/src/Network/IHTTPRequest.php @@ -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 = ''); @@ -75,8 +75,9 @@ interface IHTTPRequest * 'nobody' => only return the header * 'cookiejar' => path to cookie jar file * 'header' => header array + * 'content_length' => int maximum File content length * - * @return CurlResult + * @return IHTTPResult */ public function get(string $url, bool $binary = false, array $opts = []); @@ -88,7 +89,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);