mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 00:56:08 +02:00
[core] Improve getContents docs (#2742)
This commit is contained in:
parent
dd025894e9
commit
5cc34b884a
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue