From 1079da78b5af94ca1322e6151a124c60e95d2d4c Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 15 Jul 2024 16:46:11 +0300 Subject: [PATCH] pass timeout value to request drivers --- src/Model/Response.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Model/Response.php b/src/Model/Response.php index ee068f64..63f5da55 100644 --- a/src/Model/Response.php +++ b/src/Model/Response.php @@ -138,7 +138,9 @@ class Response ); $response = new \Yggverse\Gemini\Client\Response( - $request->getResponse() + $request->getResponse( + $timeout + ) ); // Route status code @@ -233,7 +235,8 @@ class Response $this->_data = ( new \Yggverse\Nex\Client )->request( - $this->_address->get() + $this->_address->get(), + $timeout ); $this->_mime = self::MIME_TEXT_PLAIN; // @TODO