mirror of
https://github.com/YGGverse/gemini-php.git
synced 2025-03-13 06:01:58 +00:00
allow nullable $length attribute
This commit is contained in:
parent
008d191d3c
commit
15eee0e814
@ -112,7 +112,7 @@ class Request
|
|||||||
int $timeout = 30, // socket timeout, useful for offline resources
|
int $timeout = 30, // socket timeout, useful for offline resources
|
||||||
?int $limit = null, // content length, null for unlimited
|
?int $limit = null, // content length, null for unlimited
|
||||||
int $chunk = 1, // chunk size in bytes
|
int $chunk = 1, // chunk size in bytes
|
||||||
int &$length = 0, // current response length, do not change without special needs
|
?int &$length = 0, // initial response length, do not change without special needs
|
||||||
?int &$code = null, // error code for debug
|
?int &$code = null, // error code for debug
|
||||||
?string &$message = null, // error message for debug
|
?string &$message = null, // error message for debug
|
||||||
string &$response = '' // response init, also returning by this method
|
string &$response = '' // response init, also returning by this method
|
||||||
|
Loading…
x
Reference in New Issue
Block a user