mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
pass timeout value to request drivers
This commit is contained in:
parent
66070b7007
commit
1079da78b5
1 changed files with 5 additions and 2 deletions
|
|
@ -138,7 +138,9 @@ class Response
|
||||||
);
|
);
|
||||||
|
|
||||||
$response = new \Yggverse\Gemini\Client\Response(
|
$response = new \Yggverse\Gemini\Client\Response(
|
||||||
$request->getResponse()
|
$request->getResponse(
|
||||||
|
$timeout
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
// Route status code
|
// Route status code
|
||||||
|
|
@ -233,7 +235,8 @@ class Response
|
||||||
$this->_data = (
|
$this->_data = (
|
||||||
new \Yggverse\Nex\Client
|
new \Yggverse\Nex\Client
|
||||||
)->request(
|
)->request(
|
||||||
$this->_address->get()
|
$this->_address->get(),
|
||||||
|
$timeout
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->_mime = self::MIME_TEXT_PLAIN; // @TODO
|
$this->_mime = self::MIME_TEXT_PLAIN; // @TODO
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue