|
Packit |
875988 |
\input texinfo @c -*-texinfo-*-
|
|
Packit |
875988 |
@finalout
|
|
Packit |
875988 |
@setfilename libmicrohttpd-tutorial.info
|
|
Packit |
875988 |
@set UPDATED 2 April 2016
|
|
Packit |
875988 |
@set UPDATED-MONTH April 2016
|
|
Packit |
875988 |
@set EDITION 0.9.48
|
|
Packit |
875988 |
@set VERSION 0.9.48
|
|
Packit |
875988 |
@settitle A tutorial for GNU libmicrohttpd
|
|
Packit |
875988 |
@c Unify all the indices into concept index.
|
|
Packit |
875988 |
@syncodeindex fn cp
|
|
Packit |
875988 |
@syncodeindex vr cp
|
|
Packit |
875988 |
@syncodeindex ky cp
|
|
Packit |
875988 |
@syncodeindex pg cp
|
|
Packit |
875988 |
@syncodeindex tp cp
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@dircategory Software libraries
|
|
Packit |
875988 |
@direntry
|
|
Packit |
875988 |
* libmicrohttpdtutorial: (libmicrohttpd). A tutorial for GNU libmicrohttpd.
|
|
Packit |
875988 |
@end direntry
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@copying
|
|
Packit |
875988 |
This tutorial documents GNU libmicrohttpd version @value{VERSION}, last
|
|
Packit |
875988 |
updated @value{UPDATED}.
|
|
Packit |
875988 |
|
|
Packit |
875988 |
Copyright (c) 2008 Sebastian Gerhardt.
|
|
Packit |
875988 |
|
|
Packit |
875988 |
Copyright (c) 2010, 2011, 2012, 2013, 2016 Christian Grothoff.
|
|
Packit |
875988 |
@quotation
|
|
Packit |
875988 |
Permission is granted to copy, distribute and/or modify this document
|
|
Packit |
875988 |
under the terms of the GNU Free Documentation License, Version 1.3
|
|
Packit |
875988 |
or any later version published by the Free Software Foundation;
|
|
Packit |
875988 |
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
|
Packit |
875988 |
Texts. A copy of the license is included in the section entitled "GNU
|
|
Packit |
875988 |
Free Documentation License".
|
|
Packit |
875988 |
@end quotation
|
|
Packit |
875988 |
@end copying
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@titlepage
|
|
Packit |
875988 |
@title A Tutorial for GNU libmicrohttpd
|
|
Packit |
875988 |
@subtitle Version @value{VERSION}
|
|
Packit |
875988 |
@subtitle @value{UPDATED}
|
|
Packit |
875988 |
@author Sebastian Gerhardt (@email{sebgerhardt@@gmx.net})
|
|
Packit |
875988 |
@author Christian Grothoff (@email{christian@@grothoff.org})
|
|
Packit |
875988 |
@author Matthieu Speder (@email{mspeder@@users.sourceforge.net})
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@page
|
|
Packit |
875988 |
@vskip 0pt plus 1filll
|
|
Packit |
875988 |
@insertcopying
|
|
Packit |
875988 |
@end titlepage
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@contents
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@ifnottex
|
|
Packit |
875988 |
@node Top
|
|
Packit |
875988 |
@top A Tutorial for GNU libmicrohttpd
|
|
Packit |
875988 |
@insertcopying
|
|
Packit |
875988 |
@end ifnottex
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@menu
|
|
Packit |
875988 |
* Introduction::
|
|
Packit |
875988 |
* Hello browser example::
|
|
Packit |
875988 |
* Exploring requests::
|
|
Packit |
875988 |
* Response headers::
|
|
Packit |
875988 |
* Supporting basic authentication::
|
|
Packit |
875988 |
* Processing POST data::
|
|
Packit |
875988 |
* Improved processing of POST data::
|
|
Packit |
875988 |
* Session management::
|
|
Packit |
875988 |
* Adding a layer of security::
|
|
Packit |
875988 |
* Bibliography::
|
|
Packit |
875988 |
* License text::
|
|
Packit |
875988 |
* Example programs::
|
|
Packit |
875988 |
@end menu
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Introduction
|
|
Packit |
875988 |
@chapter Introduction
|
|
Packit |
875988 |
@include chapters/introduction.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Hello browser example
|
|
Packit |
875988 |
@chapter Hello browser example
|
|
Packit |
875988 |
@include chapters/hellobrowser.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Exploring requests
|
|
Packit |
875988 |
@chapter Exploring requests
|
|
Packit |
875988 |
@include chapters/exploringrequests.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Response headers
|
|
Packit |
875988 |
@chapter Response headers
|
|
Packit |
875988 |
@include chapters/responseheaders.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Supporting basic authentication
|
|
Packit |
875988 |
@chapter Supporting basic authentication
|
|
Packit |
875988 |
@include chapters/basicauthentication.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Processing POST data
|
|
Packit |
875988 |
@chapter Processing POST data
|
|
Packit |
875988 |
@include chapters/processingpost.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Improved processing of POST data
|
|
Packit |
875988 |
@chapter Improved processing of POST data
|
|
Packit |
875988 |
@include chapters/largerpost.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Session management
|
|
Packit |
875988 |
@chapter Session management
|
|
Packit |
875988 |
@include chapters/sessions.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Adding a layer of security
|
|
Packit |
875988 |
@chapter Adding a layer of security
|
|
Packit |
875988 |
@include chapters/tlsauthentication.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Bibliography
|
|
Packit |
875988 |
@appendix Bibliography
|
|
Packit |
875988 |
@include chapters/bibliography.inc
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node License text
|
|
Packit |
875988 |
@appendix GNU Free Documentation License
|
|
Packit |
875988 |
@include fdl-1.3.texi
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node Example programs
|
|
Packit |
875988 |
@appendix Example programs
|
|
Packit |
875988 |
@menu
|
|
Packit |
875988 |
* hellobrowser.c::
|
|
Packit |
875988 |
* logging.c::
|
|
Packit |
875988 |
* responseheaders.c::
|
|
Packit |
875988 |
* basicauthentication.c::
|
|
Packit |
875988 |
* simplepost.c::
|
|
Packit |
875988 |
* largepost.c::
|
|
Packit |
875988 |
* sessions.c::
|
|
Packit |
875988 |
* tlsauthentication.c::
|
|
Packit |
875988 |
@end menu
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node hellobrowser.c
|
|
Packit |
875988 |
@section hellobrowser.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/hellobrowser.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node logging.c
|
|
Packit |
875988 |
@section logging.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/logging.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node responseheaders.c
|
|
Packit |
875988 |
@section responseheaders.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/responseheaders.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node basicauthentication.c
|
|
Packit |
875988 |
@section basicauthentication.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/basicauthentication.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node simplepost.c
|
|
Packit |
875988 |
@section simplepost.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/simplepost.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node largepost.c
|
|
Packit |
875988 |
@section largepost.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/largepost.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node sessions.c
|
|
Packit |
875988 |
@section sessions.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/sessions.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@node tlsauthentication.c
|
|
Packit |
875988 |
@section tlsauthentication.c
|
|
Packit |
875988 |
@smalldisplay
|
|
Packit |
875988 |
@verbatiminclude examples/tlsauthentication.c
|
|
Packit |
875988 |
@end smalldisplay
|
|
Packit |
875988 |
|
|
Packit |
875988 |
@bye
|