A basic http server built using node primitives.
Run npx ts-node server.ts
to start the node server and create a new TCP connection.
Run curl -s --data-binary 'hello' http://127.0.0.1:1235/echo
to test.
- Support
Transfer-encoding: chunked
. - Support
File Transfers (IO)
- HTTP Caching
- Compression and stream API
- Websockets?