-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Add HTTP server API #726
Comments
http should implemented in js side instead of using hyper in rust side? |
@sijad it should use hyper - we want to avoid reimplementing http |
so why does #725 should be completed first? |
@sijad because TCP is simpler and I anticipate more work will need to be done in the binding interface. |
Probably not relevant anymore, but there were some ideas thrown around in #199 |
@Janpot I'm starting on the http server now. I really like your idea of an inverse fetch. I probably won't do this for the first pass implementation - we need to get something simple working first - but I will explore it once we have some basic examples working. Also: we need to support streaming bodies from |
Love this project. I played around with it today and created simple http server library on top of the TCP-api. Is the plan still to add this API to deno or leave it for external libraries? Anyways, I ended up with this: (https://github.com/lenkan/deno-http). Let me know if it is something useful. If the plan is to use Hyper, I guess it's pretty irrelevant. |
@ry I suppose line 5 of example was meant to be |
We have an http server API that working for several people in |
Are those documented anywhere? |
Unfortunately not well. I can try to write up some more but it’s partially here |
Example:
#725 should be completed first.
The text was updated successfully, but these errors were encountered: