Provides a implementation of the Node.js http module using eshttp. Currently, it's a work in progress, but it provides at least partial implementation of the server and client. Todo:
[ ] Client: chunked encoding support (end event is never emitted)
[ ] Client: keep-alive and timeout
[ ] Agent
[ ] Fix issue where client doesn't receive data sometimes (I think it's network related)
Personally, everything I had to do feels like a hack (having to access underscored properties in the handles, having to set internal callbacks in ClientRequest only to wait for DNS lookup, etc.), but it works! 😄
Provides a implementation of the Node.js
http
module usingeshttp
. Currently, it's a work in progress, but it provides at least partial implementation of the server and client. Todo:end
event is never emitted)Personally, everything I had to do feels like a hack (having to access underscored properties in the handles, having to set internal callbacks in
ClientRequest
only to wait for DNS lookup, etc.), but it works! 😄