Open domderen opened 2 years ago
The way to access it depends on if the library you're using for a connector includes it in the response extensions. For example, when using the HttpConnector
, or one based on it, you can access some of the TCP info using HttpInfo
. The hyper-tls library does not seem to include any extra TLS info. Perhaps others do.
Hey,
I'm wondering if it is possible to obtain details of the SSL certificate returned by the server when using Hyper as an HTTPS client? I've got this example:
And I'm wondering how can I use the
https
object or theresponse
object to get the details of the server certificate?I tried following the code, and it seems that the cert value is not exposed in the public API of this package, but I thought I'd ask.
Thanks in advance for your help!