Swoole\Client->verifyPeerCert

Notice: the documentation is suitable for PHP extension swoole until v4.7.1, we only support PHP extension openswoole from v4.7.1

Declaration

<?php
Swoole\Client->verifyPeerCert()

Parameters

Return

Description

Verify the SSL certificate of the peer.

Example