- This topic has 8 replies, 2 voices, and was last updated 3 years, 1 month ago by .
Viewing 2 reply threads
Viewing 2 reply threads
- You must be logged in to reply to this topic.
Hello,
Is it possible to implement a simple HTTP/S using native sockets ? (eg. to get url contents)
Thank you
Yes,
There is actually a sample included doing exactly that… (and a bit more showing Websocket support).
/Kim
Well HTTP protocol not supported so i can’t download a file! 🙁
?? Not understood.
What do you mean?
/Kim
I mean i change the transport portocol to HTTP but it doesn’t accept it! (or i shouldn’t ?)
IOW, all i want is to download a file from a HTTPS source to a stream using native transports!
eg. https://www.mysite.com/myfile.zip with TLS 1.2/1.3
Thanks
Hi,
Just set it to REST.
It supersedes HTTP.
/Kim
Hello,
Well it’s a server transport not client and i also i don’t understand how to download a file from a HTTPS source using this.
I would appreciate any example!
Thank you
Hi,
Ok… so you want to download a file using kbmMW from another, non kbmMW HTTPS site?
kbmMW primarily focus on the server side of things when we are talking about HTTP/REST etc. so it does not include a generic HTTP client side component as it is today.
However, now that we have a native socket library that is getting to be stable included, it is something that I most likely will put some focus on in the future, as client/consumer side support for various things is a missing feature.
/Kim
Well, it’s up to you but those native sockets kicks ass! 🙂
So having a basic command handler class would be nice to create a lot of Server/Client Protocols too (eg. IMAP/POP3 etc)