brianleroux / tiny-json-http

:anchor: Minimalist HTTP client for JSON payloads.
172 stars 18 forks source link

Client TLS parameters #25

Open stevenpeh opened 4 years ago

stevenpeh commented 4 years ago

Hi, I'm using this to invoke a server endpoint that has mutual TLS enabled. How can I pass in my client cert, key and ca bundle so the http client will use that during the https handshake?

i.e. with vanilla node https, I would specify the cert, key and ca parameters in the options. What's the equivalent for this library?