1: <?php
2: /**
3: * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
4: * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
5: *
6: * Licensed under The MIT License
7: * Redistributions of files must retain the above copyright notice.
8: *
9: * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
10: * @link https://cakephp.org CakePHP(tm) Project
11: * @since 3.7.0
12: * @license https://opensource.org/licenses/mit-license.php MIT License
13: */
14: namespace Cake\Http\Client;
15:
16: use Cake\Http\Client\Request;
17:
18: interface AdapterInterface
19: {
20: /**
21: * Send a request and get a response back.
22: *
23: * @param \Cake\Http\Client\Request $request The request object to send.
24: * @param array $options Array of options for the stream.
25: * @return \Cake\Http\Client\Response[] Array of populated Response objects
26: */
27: public function send(Request $request, array $options);
28: }
29: