🟥 HTTP parser, client and server
Http library contains a hand-written http 1.1 parser, client and server.
🟥 Draft
In current state the library is able to host simple static website but it cannot be used for any internet facing application.
The HTTP parser is an incremental parser, that will emit events as soon as a valid element has been successfully parsed. This allows handling incomplete responses without needing holding it entirely in memory.
The HTTP client and server are for now just some basic implementations and are missing some important feature.
This is the list of videos that have been recorded showing some of the internal thoughts that have been going into this library:
Some relevant blog posts are:
Async Http server.
Usage:
Http web server helps statically serves files from a directory.
It can be used in conjunction with SC::HttpServer, by calling SC::HttpWebServer::serveFile inside the SC::HttpServer::onRequest callback to statically serve files.
Http async client.
WebServerExample
sample showing how to use SC::HttpWebServer and SC::HttpServer🟨 MVP
🟩 Usable Features:
🟦 Complete Features:
💡 Unplanned Features: