APIReference.md 4.7 KB

CivetWeb API Reference

CivetWeb is often used as HTTP and HTTPS library inside a larger application. A C API is available to integrate the CivetWeb functionality in a larger codebase. A C++ wrapper is also available, although it is not guaranteed that all functionality available through the C API can also be accessed from C++. This document describes the public C API. Basic usage examples of the API can be found in Embedding.md.

Macros

Macro Description
CIVETWEB_VERSION The current version of the website as a string with the major and minor version number seperated with a dot. For version 1.9, this string will for example have the value "1.9"

Structures

Functions