Lines Matching refs:GuzzleHttp
10 HTTP message interaction (e.g., `GuzzleHttp\Message\Request`) need to be
14 `GuzzleHttp\HandlerStack`).
16 - Removed `GuzzleHttp\BatchResults`
17 - Removed `GuzzleHttp\Collection`
18 - Removed `GuzzleHttp\HasDataTrait`
19 - Removed `GuzzleHttp\ToArrayInterface`
21 is now present in the `GuzzleHttp\Psr7` namespace provided by the
38 - `GuzzleHttp\Mimetypes` has been moved to a function in
39 `GuzzleHttp\Psr7\mimetype_from_extension` and
40 `GuzzleHttp\Psr7\mimetype_from_filename`.
41 - `GuzzleHttp\Query` and `GuzzleHttp\QueryParser` have been removed. Query
47 working with query strings easier: `GuzzleHttp\Psr7\parse_query` and
48 `GuzzleHttp\Psr7\build_query`.
53 and placed in the `GuzzleHttp\Handler` namespace. This significantly reduces
66 - `GuzzleHttp\Subscriber\Cookie` is now provided by
67 `GuzzleHttp\Middleware::cookies`
68 - `GuzzleHttp\Subscriber\HttpError` is now provided by
69 `GuzzleHttp\Middleware::httpError`
70 - `GuzzleHttp\Subscriber\History` is now provided by
71 `GuzzleHttp\Middleware::history`
72 - `GuzzleHttp\Subscriber\Mock` is now provided by
73 `GuzzleHttp\Handler\MockHandler`
74 - `GuzzleHttp\Subscriber\Prepare` is now provided by
75 `GuzzleHttp\PrepareBodyMiddleware`
76 - `GuzzleHttp\Subscriber\Redirect` is now provided by
77 `GuzzleHttp\RedirectMiddleware`
79 `GuzzleHttp\Psr7\Uri`) for URI support. `GuzzleHttp\Url` is now gone.
80 - Static functions in `GuzzleHttp\Utils` have been moved to namespaced
81 functions under the `GuzzleHttp` namespace. This requires either a Composer
83 - `GuzzleHttp\ClientInterface::getDefaultOption` has been renamed to
84 `GuzzleHttp\ClientInterface::getConfig`.
85 - `GuzzleHttp\ClientInterface::setDefaultOption` has been removed.
111 use GuzzleHttp\Event\BeforeEvent;
112 $client = new GuzzleHttp\Client();
128 use GuzzleHttp\Middleware;
130 $handler = GuzzleHttp\HandlerStack::create();
137 $client = new GuzzleHttp\Client(['handler' => $handler]);
149 `GuzzleHttp\Post\PostFile` has been removed. Use the `multipart` option to add
163 HTTP requests. The `adapter` option in a `GuzzleHttp\Client` constructor
165 passing a `GuzzleHttp\Adapter\AdapterInterface`, you must now pass a PHP
173 - `GuzzleHttp\Collection`
174 - `GuzzleHttp\Url`
175 - `GuzzleHttp\Query`
176 - `GuzzleHttp\Post\PostBody`
177 - `GuzzleHttp\Cookie\SetCookie`
184 - `GuzzleHttp\json_decode` -> `GuzzleHttp\Utils::jsonDecode`
185 - `GuzzleHttp\get_path` -> `GuzzleHttp\Utils::getPath`
186 - `GuzzleHttp\Utils::setPath` -> `GuzzleHttp\set_path`
187 - `GuzzleHttp\Pool::batch` -> `GuzzleHttp\batch`. This function is, however,
188 deprecated in favor of using `GuzzleHttp\Pool::batch()`.
191 `GuzzleHttp\get()`, `GuzzleHttp\post()`, etc.). Use a `GuzzleHttp\Client`
215 `GuzzleHttp\Message\MessageInterface::getHeader`. If you want to get a header
232 now utilized in `GuzzleHttp\Event\EmitterInterface` (resulting in significant
253 at `GuzzleHttp\ClientInterface::VERSION`.
267 `GuzzleHttp\Event\Emitter`.
270 `GuzzleHttp\Event\EmitterInterface`.
272 `GuzzleHttp\Event\Emitter`.
274 `GuzzleHttp\Event\Event`, and Guzzle now has an EventInterface in
275 `GuzzleHttp\Event\EventInterface`.
321 - `Guzzle\Http\Url` has moved to `GuzzleHttp\Url`.
322 - `Guzzle\Http\QueryString` has moved to `GuzzleHttp\Query`.
325 - `GuzzleHttp\StaticClient` has been removed. Use the functions provided in
327 - Exceptions in `GuzzleHttp\Exception` have been updated to all extend from
328 `GuzzleHttp\Exception\TransferException`.
349 `GuzzleHttp\ClientInterface` has changed.
359 `GuzzleHttp\Client` has changed.
378 `GuzzleHttp\Adapter\TransactionInterface` object. You can get references to
384 - `GuzzleHttp\Message\EntityEnclosingRequest` and
385 `GuzzleHttp\Message\EntityEnclosingRequestInterface` have been removed. The
387 contain a body has been removed, and now `GuzzleHttp\Message\RequestInterface`
389 - Any method that previously accepts a `GuzzleHttp\Response` object now accept a
390 `GuzzleHttp\Message\ResponseInterface`.
391 - `GuzzleHttp\Message\RequestFactoryInterface` has been renamed to
392 `GuzzleHttp\Message\MessageFactoryInterface`. This interface is used to create
394 `GuzzleHttp\Message\MessageFactory`.
396 must now use the methods made available to `GuzzleHttp\Post\PostBodyInterface`
398 standard `GuzzleHttp\Message\MessageFactoryInterface` will automatically use
399 a `GuzzleHttp\Post\PostBody` body if the body was passed as an array or if
410 - `GuzzleHttp\Message\Header` has been removed. Header values are now simply
415 - `GuzzleHttp\PostFile` and `GuzzleHttp\PostFileInterface` have been moved to
416 `GuzzleHttp\Post`. This interface has been simplified and now allows the
418 - Custom headers like `GuzzleHttp\Message\Header\Link` have been removed. Most
420 subscribers/plugins, and `GuzzleHttp\Message\HeaderValues::parseParams()` has
426 - `GuzzleHttp\Message\Response::getInfo()` and
427 `GuzzleHttp\Message\Response::setInfo()` have been removed. Use the event
429 - `GuzzleHttp\Message\Response::getRawHeaders()` has been removed.
430 - `GuzzleHttp\Message\Response::getMessage()` has been removed.
431 - `GuzzleHttp\Message\Response::calculateAge()` and other cache specific
435 - `GuzzleHttp\Message\Response::setRequest()` and
436 `GuzzleHttp\Message\Response::getRequest()` have been removed. Use the event
438 - `GuzzleHttp\Message\Response::getRedirectCount()` has been removed. Use the
440 - `GuzzleHttp\Message\Response::isSuccessful()` and other related methods have
446 `GuzzleHttp\Message\ResponseInterface` object that contains a body stream
481 `GuzzleHttp\Stream`. All classes and interfaces that once required
482 `GuzzleHttp\EntityBodyInterface` now require
483 `GuzzleHttp\Stream\StreamInterface`. Creating a new body for a request no
484 longer uses `GuzzleHttp\EntityBody::factory` but now uses
485 `GuzzleHttp\Stream\Stream::factory` or even better:
486 `GuzzleHttp\Stream\create()`.
488 - `Guzzle\Http\EntityBodyInterface` is now `GuzzleHttp\Stream\StreamInterface`
489 - `Guzzle\Http\EntityBody` is now `GuzzleHttp\Stream\Stream`
490 - `Guzzle\Http\CachingEntityBody` is now `GuzzleHttp\Stream\CachingStream`
491 - `Guzzle\Http\ReadLimitEntityBody` is now `GuzzleHttp\Stream\LimitStream`
500 `GuzzleHttp\Event\EventInterface` object that contains context providing
505 `GuzzleHttp\Event\BeforeEvent`
507 `GuzzleHttp\Event\CompleteEvent`.
510 - `error` is now an event that emits a `GuzzleHttp\Event\ErrorEvent`.
522 event emits a `GuzzleHttp\Event\HeadersEvent`.
525 of a `GuzzleHttp\Event\BeforeEvent`, `GuzzleHttp\Event\CompleteEvent`, and
526 `GuzzleHttp\Event\ErrorEvent` event.
554 moved to `GuzzleHttp\Subscriber\Log\Formatter`.
564 `GuzzleHttp\Cookie\SetCookie::fromString`.
566 to `GuzzleHttp\Message\MessageFactory::fromMessage`. Message parsing is only
570 `GuzzleHttp\UriTemplate`. The Guzzle library will automatically use the PECL
572 - Url: URL parsing is now performed in `GuzzleHttp\Url::fromString` (previously
574 then developers are free to subclass `GuzzleHttp\Url`.
578 The `Guzzle\Plugin` namespace has been renamed to `GuzzleHttp\Subscriber`.
581 - `GuzzleHttp\Subscriber\Cookie`: Replaces the old CookiePlugin. Cookie jar
582 code has moved to `GuzzleHttp\Cookie`.
583 - `GuzzleHttp\Subscriber\History`: Replaces the old HistoryPlugin.
584 - `GuzzleHttp\Subscriber\HttpError`: Throws errors when a bad HTTP response is
586 - `GuzzleHttp\Subscriber\Mock`: Replaces the old MockPlugin.
587 - `GuzzleHttp\Subscriber\Prepare`: Prepares the body of a request just before
589 - `GuzzleHttp\Subscriber\Redirect`: Replaces the RedirectPlugin.
594 - `GuzzleHttp\Plugin\Async` has been removed.
595 - `GuzzleHttp\Plugin\CurlAuth` has been removed.
596 - `GuzzleHttp\Plugin\ErrorResponse\ErrorResponsePlugin` has been removed. This
613 `GuzzleHttp\Subscriber\MockSubscriber`.
642 `GuzzleHttp\Stream\MetadataStreamInterface`.
645 using streams that implement `GuzzleHttp\Stream\MetadataStreamInterface`.
654 `GuzzleHttp\Stream\Stream`.
658 `GuzzleHttp\Stream\MetadataStreamInterface` has been added to denote streams
660 `GuzzleHttp\Stream\StreamInterface::getMetadata` and
661 `GuzzleHttp\Stream\StreamInterface::setMetadata` have been removed.
668 PHP requests are now implemented through the `GuzzleHttp\Adapter\StreamAdapter`.