<div dir="ltr"><div class="gmail-gs" style="margin:0px;padding:0px 0px 20px;width:2152px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div class="gmail-"><div id="gmail-:my" class="gmail-ii gmail-gt" style="font-size:12.8px;direction:ltr;margin:8px 0px 0px;padding:0px"><div id="gmail-:kv" class="gmail-a3s gmail-aXjCH" style="overflow:hidden;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I've only managed to find this, but it seems to do too much for what I need:</div><div><br></div><div><a href="https://wiki.openssl.org/index.php/SSL/TLS_Client" target="_blank">https://wiki.openssl.org/index.php/SSL/TLS_Client</a></div><div><br></div><div>Basically I need something like Go's http.Get("<a href="https://mysite.com/version" target="_blank">https://mysite.com/version</a>") to just get a one line of text from the server.</div><div><br></div><div>I can't use libcurl, I have to use pure openssl.</div><div><br></div><div>Thanks<div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div></div></div></div><div class="gmail-adL"></div></div></div><div class="gmail-hi" style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><br class="gmail-Apple-interchange-newline"></div>