Minimalist web framework for Arduino, inspired from Node.js Express
The library requires AT LEAST 4Ko of dynamic memory and AT LEAST 12Ko of program storage space.
Just tested on Teensy 3.2 but it should work with other boards
The library imitates Express as much as possible
- All: matches all HTTP verbs
- Get: Routes HTTP GET requests to the specified path with the specified callback functions.
- Post:Routes HTTP POST requests to the specified path with the specified callback functions.
- Put: Routes HTTP PUT requests to the specified path with the specified callback functions.
- Delete, Head, Options, Patch
Represents the HTTP request and has properties for the request query string, parameters, body, HTTP headers, and so on.
Most of the Request interface is implemented.
Represents the HTTP response that the RestServer sends when it gets an HTTP request.
Most of the Response interface is implemented.