Skip to content

REST HTTP for Arduino, inspired from Node.js Express

License

Notifications You must be signed in to change notification settings

Tezirg/ArduinoExpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArduinoExpress

Minimalist web framework for Arduino, inspired from Node.js Express

Hardware compatibility

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

Documentation

The library imitates Express as much as possible

RestServer

  • 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

RestRequest

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.

RestResponse

Represents the HTTP response that the RestServer sends when it gets an HTTP request.

Most of the Response interface is implemented.

About

REST HTTP for Arduino, inspired from Node.js Express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published