I'm trying to use ocsp in a package that also consumes https-proxy-agent to allow connections through a proxy.
While I can't compose 2 agents, I can get the underlying socket and it's certificate but need to contact the OCSP server through the same proxy.
Can Check() take another member in its options parameter that would be passed to the http.request to allow an agent to be specified?
Would be happy to send a PR, or look at an alternate solution.
I'm trying to use ocsp in a package that also consumes https-proxy-agent to allow connections through a proxy.
While I can't compose 2 agents, I can get the underlying socket and it's certificate but need to contact the OCSP server through the same proxy.
Can Check() take another member in its options parameter that would be passed to the http.request to allow an agent to be specified?
Would be happy to send a PR, or look at an alternate solution.