Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * Pop PHP Framework (http://www.popphp.org/) |
4 | * |
5 | * @link https://github.com/popphp/popphp-framework |
6 | * @author Nick Sagona, III <dev@nolainteractive.com> |
7 | * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) |
8 | * @license http://www.popphp.org/license New BSD License |
9 | */ |
10 | |
11 | /** |
12 | * @namespace |
13 | */ |
14 | namespace Pop\Mail\Api; |
15 | |
16 | use Aws\Ses\SesClient; |
17 | use Pop\Http; |
18 | |
19 | /** |
20 | * Http base interface |
21 | * |
22 | * @category Pop |
23 | * @package Pop\Mail |
24 | * @author Nick Sagona, III <dev@nolainteractive.com> |
25 | * @copyright Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com) |
26 | * @license http://www.popphp.org/license New BSD License |
27 | * @version 4.0.0 |
28 | */ |
29 | interface HttpInterface |
30 | { |
31 | |
32 | /** |
33 | * Create client |
34 | * |
35 | * @param array|string $options |
36 | * @return HttpInterface |
37 | */ |
38 | public function createClient(array|string $options): HttpInterface; |
39 | |
40 | /** |
41 | * Set client |
42 | * |
43 | * @param mixed $client |
44 | * @return HttpInterface |
45 | */ |
46 | public function setClient(mixed $client): HttpInterface; |
47 | |
48 | /** |
49 | * Get client |
50 | * |
51 | * @return mixed |
52 | */ |
53 | public function getClient(): mixed; |
54 | |
55 | /** |
56 | * Has client |
57 | * |
58 | * @return bool |
59 | */ |
60 | public function hasClient(): bool; |
61 | |
62 | /** |
63 | * Parse options |
64 | * |
65 | * @param array|string $options |
66 | * @throws Exception |
67 | * @return array |
68 | */ |
69 | public function parseOptions(array|string $options): array; |
70 | |
71 | } |