Make basic Socket writing, so Http could work
HTTPS still not working as we must implement/override Http customRequest
Could this get merged?
You mean to ask my permission? Of course, I made a pull request a while ago.
I have already a few additional commits (Process, SQLite) once things get moving.
With web-workers, we could already remove the dependency on deasync too.
This is what I wonder in my head
If something is wrong with the commit what? If the maintainers have no time for it, maybe enable us to maintain? If the maintainers have no purpose for it, I do have! Did I miss somethings, what?
Ahh, no, i was bumping for the maintainers. This has kind of been sitting idle for a lil while and it works fine. I was about to do the same work myself before checking to see if someone else had done the work
Hi @neimanpinchas, thanks for your PR! Do you have an example usage of this so I could add corresponding tests, and check that everything is working properly? (tests happen in a different repo, it's understandable that they wouldn't be handled by contributors here)
@kLabz It enables http support on the nodejs target
var http = new Http('https://google.com');
http.onData = (resp) -> {
trace(resp);
}
http.request();
Currently does not work, with this pr the above code would now work
I do not see a test folder, can you give a hint on where the test are added?
Thanks
HTTPS still not working but that would work
var http = new Http('http://example.com');
http.onData = (resp) -> {
trace(resp);
}
http.request();