Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hxnodejs does not fully implement sys.net.Socket (needed for sys.Http) #186

Open
theJenix opened this issue Oct 19, 2022 · 3 comments
Open

Comments

@theJenix
Copy link

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 the setTimeout and shutdown methods.

@neimanpinchas
Copy link

I have as well the same problem, I am ready to implement in if we have basic guidance

@neimanpinchas
Copy link

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

@neimanpinchas
Copy link

#187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants