| 1 | <?php |
||
| 19 | final class ConnectionResponse implements ApiResponse |
||
| 20 | { |
||
| 21 | private $noVerify; |
||
| 22 | private $requireTLS; |
||
| 23 | |||
| 24 | 1 | public static function create(array $data): ?self |
|
| 37 | |||
| 38 | 1 | private function __construct() |
|
| 41 | |||
| 42 | /** |
||
| 43 | * Disable remote TLS certificate verification. |
||
| 44 | * |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | 1 | public function getSkipVerification(): ?bool |
|
| 51 | |||
| 52 | /** |
||
| 53 | * Requires TLS for all outbound communication. |
||
| 54 | * |
||
| 55 | * @return bool |
||
| 56 | */ |
||
| 57 | 1 | public function getRequireTLS(): ?bool |
|
| 61 | } |
||
| 62 |