Lines Matching refs:new
11 updated to work with the new immutable PSR-7 request and response objects. Any
112 $client = new GuzzleHttp\Client();
137 $client = new GuzzleHttp\Client(['handler' => $handler]);
292 $mock = new Mock();
405 $request->getBody()->addFile(new PostFile('file_key', fopen('/path/to/content', 'r')));
453 $factory = new PhpStreamRequestFactory();
483 `GuzzleHttp\Stream\StreamInterface`. Creating a new body for a request no
520 `headers` is a new event that is emitted after the response headers of a
858 $multi = new Guzzle\Http\Curl\CurlMulti();
918 $client = new self(
944 $client = new self(
1103 $sd = new ServiceDescription();
1115 $sd = new ServiceDescription();
1144 $client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $verbosity = …
1158 $client->addSubscriber(new LogPlugin(new ClosureLogAdapter(function($m) { echo $m; }, $format = Mes…
1174 $backoffPlugin = new ExponentialBackoffPlugin($maxRetries, array_merge(