Browse Source

pass timeout value to request drivers

PHP-GTK3
yggverse 4 months ago
parent
commit
1079da78b5
  1. 7
      src/Model/Response.php

7
src/Model/Response.php

@ -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…
Cancel
Save