amphp / http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.
https://amphp.org/http-client
MIT License
704 stars 66 forks source link

Connect with ssl certificate #290

Closed PNixx closed 3 years ago

PNixx commented 3 years ago

I need connect via ssl certificate, example for curl:

    curl_setopt($ch, CURLOPT_SSLCERT, $pem_file);
    curl_setopt($ch, CURLOPT_SSLCERTPASSWD, $pem_secret);

How I can do it?

PNixx commented 3 years ago

Example request in issue https://github.com/amphp/http-client/issues/292