最終更新:2021-02-25 (木) 13:35:09 (1154d)  

Mongoose
Top / Mongoose

easy to use web server

Embedded Web Server / Embedded Networking Library

https://github.com/cesanta/mongoose

https://cesanta.com/

https://code.google.com/p/mongoose/

Overview

To accomplish it's mission, Mongoose keeps balance on functionality and simplicity by carefully selected list of features:

  • Works on Windows, Mac, UNIX, iPhone, Android, and many other platforms
  • Support for CGI, SSL, SSI?, Digest (MD5) authorization, WebSocket, WebDAV
  • Lua server pages (PHP-like functionality using Lua) with SQLite3?, see page.lp
  • Resumed download, URL rewrite, IP-based ACL, Windows service
  • Excluding files from serving by URI pattern (file blacklist)
  • Download speed limit based on client subnet or URI pattern
  • Small footprint: Mongoose executable size is 64 kB on Linux 2.6 i386 system
  • 320 kilobytes Windows executable with all of the above (including SSL, Lua, SQLite) and no dependencies
  • Simple and clean embedding API, mongoose.h. The source is in single mongoose.c file to make things easy.
  • HTTP client functionality for embedded usage, capable of sending arbitrary HTTP/HTTPS requests
  • Embedding examples: hello.c, post.c, upload.c, websocket.c

参考