/home/techb158/dev.balacoffee.com/vendor/laravel/framework/src/Illuminate/Http/Client
NameSizeModeActions
Events/-0755rm
ConnectionException.php1070644editdlrm
Factory.php121160644editdlrm
HttpClientException.php1130644editdlrm
PendingRequest.php290950644editdlrm
Pool.php19260644editdlrm
Request.php64820644editdlrm
RequestException.php11460644editdlrm
Response.php85470644editdlrm
ResponseSequence.php36310644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/laravel/framework/src/Illuminate/Http/Client/Pool.php (1926B)
factory = $factory ?: new Factory(); if (method_exists(Utils::class, 'chooseHandler')) { $this->handler = Utils::chooseHandler(); } else { $this->handler = \GuzzleHttp\choose_handler(); } } /** * Add a request to the pool with a key. * * @param string $key * @return \Illuminate\Http\Client\PendingRequest */ public function as(string $key) { return $this->pool[$key] = $this->asyncRequest(); } /** * Retrieve a new async pending request. * * @return \Illuminate\Http\Client\PendingRequest */ protected function asyncRequest() { return $this->factory->setHandler($this->handler)->async(); } /** * Retrieve the requests in the pool. * * @return array */ public function getRequests() { return $this->pool; } /** * Add a request to the pool with a numeric index. * * @param string $method * @param array $parameters * @return \Illuminate\Http\Client\PendingRequest */ public function __call($method, $parameters) { return $this->pool[] = $this->asyncRequest()->$method(...$parameters); } }