diff --git a/src/Illuminate/Http/Client/Response.php b/src/Illuminate/Http/Client/Response.php index eb1db35babe3..ac6afb4e1863 100644 --- a/src/Illuminate/Http/Client/Response.php +++ b/src/Illuminate/Http/Client/Response.php @@ -120,6 +120,16 @@ public function effectiveUri() return $this->transferStats->getEffectiveUri(); } + /** + * Get the handler stats of the response. + * + * @return \Psr\Http\Message\UriInterface + */ + public function handlerStats() + { + return $this->transferStats->getHandlerStats(); + } + /** * Determine if the request was successful. *