Forum Navigation
HTTPS
Moderators:
kris
Posted: 07/10/08 12:17:12Hi!
With Tango 0.99.6 it was pretty easy to post over https by deriving from HttpClient? or HttpPost? like this and calling open() and read() on an instance of HttpsPost?:
module foo.bar.HttpsPost; import tango.net.SocketConduit; import tango.net.SSLSocketConduit; import tango.net.http.HttpPost; public class HttpsPost : HttpPost { public this(char[] url) { super(url); } protected override SocketConduit createSocket() { return new SSLSocketConduit(); } }In the branch becoming 0.99.7 however, createSocket() was removed from HttpClient?, so this no longer works.
Is there another way to do it, or could you please bring back the createSocket() method for 0.99.7?
TIA, Alex
Author Message
Posted: 07/16/08 05:02:40Whoops .. good point :)
Posted: 07/19/08 19:50:38See #1195