1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace Symfony\Component\HttpClient\Internal;
- final class NativeClientState extends ClientState
- {
-
- public $id;
-
- public $maxHostConnections = \PHP_INT_MAX;
-
- public $responseCount = 0;
-
- public $dnsCache = [];
-
- public $sleep = false;
-
- public $hosts = [];
- public function __construct()
- {
- $this->id = random_int(\PHP_INT_MIN, \PHP_INT_MAX);
- }
- public function reset()
- {
- $this->responseCount = 0;
- $this->dnsCache = [];
- $this->hosts = [];
- }
- }
|