Browse Source

reduce default chunk size

main
yggverse 9 months ago
parent
commit
e3f4786f9e
  1. 2
      src/Client/Request.php

2
src/Client/Request.php

@ -111,7 +111,7 @@ class Request @@ -111,7 +111,7 @@ class Request
public function getResponse(
int $timeout = 30, // socket timeout, useful for offline resources
?int $limit = null, // content length, null for unlimited
int $chunk = 1024, // chunk size, it's better change it later to 1 @TODO
int $chunk = 1, // chunk size in bytes
int &$length = 0, // current response length, do not change without special needs
?int &$code = null, // error code for debug
?string &$message = null, // error message for debug

Loading…
Cancel
Save