mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
[core] Improve getContents docs (#2742)
This commit is contained in:
parent
dd025894e9
commit
5cc34b884a
@ -49,7 +49,14 @@ const RSSBRIDGE_HTTP_STATUS_CODES = [
|
||||
*
|
||||
* @param array $httpHeaders E.g. ['Content-type: text/plain']
|
||||
* @param array $curlOptions Associative array e.g. [CURLOPT_MAXREDIRS => 3]
|
||||
* @param bool $returnFull Whether to return an array ['header' => [...], 'content' => '...']
|
||||
* @param bool $returnFull Whether to return an array:
|
||||
* [
|
||||
* 'code' => int,
|
||||
* 'header' => array,
|
||||
* 'content' => string,
|
||||
* 'status_lines' => array,
|
||||
* ]
|
||||
|
||||
* @return string|array
|
||||
*/
|
||||
function getContents(
|
||||
|
Loading…
Reference in New Issue
Block a user