Development Tools

Ulfius – HTTP Framework for REST Applications in C

Ulfius is a web framework to build REST APIs, webservices or any HTTP endpoint in C language.

It can stream large amounts of data, integrate JSON data with Jansson, and create websocket services.

This is free and open source software.

Key Features

  • Create web applications in C programs with a small memory footprint, as in embedded systems applications.
  • Create webservices in HTTP or HTTPS mode, stream data, or implement server websockets:
    • Create a webservice in a separate thread, the endpoint is identified by its method (ex: GET, POST, PUT, DELETE, etc.) and its URL path with its optional parameters (ex: /api/doc/@id). The webservice is executed in a callback function.
    • Stream large amount of data with a reduced memory footprint.
    • Websocket service, the websocket messages exchange is executed in dedicated callback functions.
  • Client requests:
    • Client http[s] and smtp requests execution, the response is parsed in a dedicated structure.
    • Client websocket request execution, the websocket messages exchange is executed in dedicated callback functions.
  • Based on GNU Libmicrohttpd for the backend web server, Jansson for the json manipulation library, and Libcurl for the http/smtp client API.

Website: babelouest.github.io/ulfius
Support: GitHub Code Repository
Developer: Nicolas Mora
License: GNU Lesser General Public License v2.1

Ulfius is written in C. Learn C with our recommended free books and free tutorials.


Related Software

C Web Frameworks
KoreSecure web application framework for writing web APIs in C or Python
facil.ioHigh performance web application C framework
OnionLibrary to create simple HTTP servers and web applications
UlfiusHTTP Framework for REST Applications in C
libreactorExtendable event driven high performance C-abstractions
ecewoAsynchronous, single-threaded C web framework
DudaEvent-driven and high performant web services framework

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted