Interface AdapterInterface

Http client adapter interface.

Namespace: Cake\Http\Client

Method Summary

  • send() public

    Send a request and get a response back.

Method Detail

send() public

send(\Psr\Http\Message\RequestInterface $request, array $options)

Send a request and get a response back.

Parameters

\Psr\Http\Message\RequestInterface $request

The request object to send.

array $options

Array of options for the stream.

Returns

\Cake\Http\Client\Response[]

Array of populated Response objects

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.1/interface-Cake.Http.Client.AdapterInterface.html