wrapSync()
wrapSync(callable $default, callable $sync) : \GuzzleHttp\Handler\callable(\Psr\Http\Message\RequestInterface,
Sends synchronous requests to a specific handler while sending all other requests to another handler.
Parameters
| callable | $default | |
| callable | $sync |
Returns
\GuzzleHttp\Handler\callable(\Psr\Http\Message\RequestInterface, —array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.