Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
HttpClientProxyOptions | 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\Text; |
8 | |
9 | /** |
10 | * HttpClient プロキシ設定データ。 |
11 | */ |
12 | readonly class HttpClientProxyOptions |
13 | { |
14 | /** |
15 | * 生成。 |
16 | * |
17 | * @param string $host |
18 | * @param int $port |
19 | * @param string $userName |
20 | * @param string $password |
21 | * @codeCoverageIgnore |
22 | */ |
23 | public function __construct( |
24 | public string $host, |
25 | public int $port, |
26 | public string $userName = Text::EMPTY, |
27 | public string $password = Text::EMPTY |
28 | ) { |
29 | } |
30 | } |