Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
HttpClientSecurityOptions | n/a |
0 / 0 |
n/a |
0 / 0 |
1 | n/a |
0 / 0 |
|||
__construct | n/a |
0 / 0 |
n/a |
0 / 0 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace PeServer\Core\Http\Client; |
6 | |
7 | use PeServer\Core\Http\HttpMethod; |
8 | use PeServer\Core\Http\HttpUrl; |
9 | |
10 | readonly class HttpClientSecurityOptions |
11 | { |
12 | /** |
13 | * 生成。 |
14 | * |
15 | * @param bool $sslVerifyPeer |
16 | * @param bool $sslVerifyHost |
17 | * @param bool $urlAllowAuthentication |
18 | * @codeCoverageIgnore |
19 | */ |
20 | public function __construct( |
21 | public bool $sslVerifyPeer = true, |
22 | public bool $sslVerifyHost = true, |
23 | public bool $urlAllowAuthentication = false, |
24 | ) { |
25 | } |
26 | } |