runtimejs / runtime

[not maintained] Lightweight JavaScript library operating system for the cloud
http://runtimejs.org
Apache License 2.0
1.93k stars 128 forks source link

Node http module - WIP #103

Open facekapow opened 8 years ago

facekapow commented 8 years ago

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:

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! 😄

iefserge commented 8 years ago

This is pretty awesome! I think most hacks can be avoided by adding chunked request/responses support to eshttp. I'm going to look into it sometime.