| 1 |
This tutorial is for developers who want to learn how they can add HTTP serving |
| 2 |
capabilities to their applications with the @emph{GNU libmicrohttpd} library, |
| 3 |
abbreviated @emph{MHD}. The reader will learn how to |
| 4 |
implement basic HTTP functions from simple executable |
| 5 |
sample programs that implement various features. |
| 6 |
|
| 7 |
The text is supposed to be a supplement to the API reference manual of |
| 8 |
@emph{GNU libmicrohttpd} and for that reason does not explain many of the parameters. |
| 9 |
Therefore, the reader should always consult the manual to find the exact meaning |
| 10 |
of the functions used in the tutorial. Furthermore, the reader is |
| 11 |
encouraged to study the relevant @emph{RFCs}, which document the HTTP standard. |
| 12 |
|
| 13 |
@emph{GNU libmicrohttpd} is assumed to be already installed. This tutorial |
| 14 |
is written for version @value{VERSION}. At the time being, |
| 15 |
this tutorial has only been tested on @emph{GNU/Linux} machines even though |
| 16 |
efforts were made not to rely on anything that would prevent the samples from being |
| 17 |
built on similar systems. |
| 18 |
|
| 19 |
@section History |
| 20 |
|
| 21 |
This tutorial was originally written by Sebastian Gerhardt for MHD |
| 22 |
0.4.0. It was slightly polished and updated to MHD 0.9.0 by Christian |
| 23 |
Grothoff. |