Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » HttpClient -> ssl
HttpClient -> ssl [message #43507] Wed, 13 August 2014 17:04 Go to next message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Hi all,

I'm trying to send something via https, is there an option for HttpClient class to do that?

I found this thread: http://www.ultimatepp.org/forums/index.php?t=msg&th=2001 &#msg_8496 which links to another, which unfortunately isn't working anymore.

Would be nice if some of you could help me.
Thanks in advance.

Greets
Re: HttpClient -> ssl [message #43515 is a reply to message #43507] Fri, 15 August 2014 09:31 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
HttpClient is now obsolete.

Use HttpRequest (in Core) with Core/SSL - that adds SSL support. You will have to have OpenSSL .ddls available for the executable.

Other than that, you need to do nothing, just put "https" in the url Smile

Mirek
Re: HttpClient -> ssl [message #43525 is a reply to message #43515] Mon, 18 August 2014 10:30 Go to previous message
NilaT is currently offline  NilaT
Messages: 70
Registered: November 2011
Location: Austria
Member
Thanks for your response mirek, unfortunately we have to use uppsrc_2010 and there is only one HttpRequest class in Web/httpsrv.h, which is obvisoulsy not the one you mean Wink

Is there any ssl support in 2010 sources?
Or is it possible to simply copy HttpRequest + TcpSocket class from uppsrc_2012 to uppsrc_2010?

And what "OpenSSL .ddls" do you mean?

Thanks again.

//edit: We found Web/SSL and included Web/SSL/WebSSL.h, which includes HttpsClient class... hope this gonna work too Wink

//edit2: Haha, this is a nice one: http://www.ultimatepp.org/forums/index.php?t=msg&th=5203 &

//edit3: Okay... Because I don't think there's any answer coming back, I close this thread now.
For anybody who faces the same problem, use the class HttpsClient in Web/SSL as I mentioned above, this works pretty fine. (Theres a heap leak but who cares ^^)

[Updated on: Wed, 20 August 2014 08:56]

Report message to a moderator

Previous Topic: HttpRequest : problem with multiple redirections ?
Next Topic: [solved] Bug in CParser
Goto Forum:
  


Current Time: Fri Apr 19 14:39:02 CEST 2024

Total time taken to generate the page: 0.03172 seconds