Request.sslSetCaCert

Set path to ssl ca cert file.

struct Request
@property pure @safe nothrow @nogc
void
sslSetCaCert
(
string path
)

Examples

auto rq = Request();
rq.sslSetCaCert("/opt/local/etc/openssl/cert.pem");
auto rs = rq.get("https://localhost:4443/");

Meta