/CakePHP 4.1

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.


\Psr\Http\Message\RequestInterface $request

The request object to send.

array $options

Array of options for the stream.



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.