Open theJenix opened 2 years ago
I have as well the same problem, I am ready to implement in if we have basic guidance
It seems like we must implement a class SocketOutput, and override some methods there. Then add a field output to socket, and initialize it in the constructor to a socketoutput
This could be noise (because haxe.Http exists), or it could be related to #59 ; I noticed that the sys.net.Socket implementation in hxnodejs does not implement the all of the variables and methods defined in https://api.haxe.org/sys/net/Socket.html which means trying to use sys.Http will result in compiler errors. Specifically, it looks like it is missing the
output
stream variable and thesetTimeout
andshutdown
methods.