libmicrohttpd-tutorial.texi 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. \input texinfo @c -*-texinfo-*-
  2. @finalout
  3. @setfilename libmicrohttpd-tutorial.info
  4. @set UPDATED 2 April 2016
  5. @set UPDATED-MONTH April 2016
  6. @set EDITION 0.9.48
  7. @set VERSION 0.9.48
  8. @settitle A tutorial for GNU libmicrohttpd
  9. @c Unify all the indices into concept index.
  10. @syncodeindex fn cp
  11. @syncodeindex vr cp
  12. @syncodeindex ky cp
  13. @syncodeindex pg cp
  14. @syncodeindex tp cp
  15. @dircategory Software libraries
  16. @direntry
  17. * libmicrohttpdtutorial: (libmicrohttpd). A tutorial for GNU libmicrohttpd.
  18. @end direntry
  19. @copying
  20. This tutorial documents GNU libmicrohttpd version @value{VERSION}, last
  21. updated @value{UPDATED}.
  22. Copyright (c) 2008 Sebastian Gerhardt.
  23. Copyright (c) 2010, 2011, 2012, 2013, 2016 Christian Grothoff.
  24. @quotation
  25. Permission is granted to copy, distribute and/or modify this document
  26. under the terms of the GNU Free Documentation License, Version 1.3
  27. or any later version published by the Free Software Foundation;
  28. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  29. Texts. A copy of the license is included in the section entitled "GNU
  30. Free Documentation License".
  31. @end quotation
  32. @end copying
  33. @titlepage
  34. @title A Tutorial for GNU libmicrohttpd
  35. @subtitle Version @value{VERSION}
  36. @subtitle @value{UPDATED}
  37. @author Sebastian Gerhardt (@email{sebgerhardt@@gmx.net})
  38. @author Christian Grothoff (@email{christian@@grothoff.org})
  39. @author Matthieu Speder (@email{mspeder@@users.sourceforge.net})
  40. @page
  41. @vskip 0pt plus 1filll
  42. @insertcopying
  43. @end titlepage
  44. @contents
  45. @ifnottex
  46. @node Top
  47. @top A Tutorial for GNU libmicrohttpd
  48. @insertcopying
  49. @end ifnottex
  50. @menu
  51. * Introduction::
  52. * Hello browser example::
  53. * Exploring requests::
  54. * Response headers::
  55. * Supporting basic authentication::
  56. * Processing POST data::
  57. * Improved processing of POST data::
  58. * Session management::
  59. * Adding a layer of security::
  60. * Bibliography::
  61. * License text::
  62. * Example programs::
  63. @end menu
  64. @node Introduction
  65. @chapter Introduction
  66. @include chapters/introduction.inc
  67. @node Hello browser example
  68. @chapter Hello browser example
  69. @include chapters/hellobrowser.inc
  70. @node Exploring requests
  71. @chapter Exploring requests
  72. @include chapters/exploringrequests.inc
  73. @node Response headers
  74. @chapter Response headers
  75. @include chapters/responseheaders.inc
  76. @node Supporting basic authentication
  77. @chapter Supporting basic authentication
  78. @include chapters/basicauthentication.inc
  79. @node Processing POST data
  80. @chapter Processing POST data
  81. @include chapters/processingpost.inc
  82. @node Improved processing of POST data
  83. @chapter Improved processing of POST data
  84. @include chapters/largerpost.inc
  85. @node Session management
  86. @chapter Session management
  87. @include chapters/sessions.inc
  88. @node Adding a layer of security
  89. @chapter Adding a layer of security
  90. @include chapters/tlsauthentication.inc
  91. @node Bibliography
  92. @appendix Bibliography
  93. @include chapters/bibliography.inc
  94. @node License text
  95. @appendix GNU Free Documentation License
  96. @include fdl-1.3.texi
  97. @node Example programs
  98. @appendix Example programs
  99. @menu
  100. * hellobrowser.c::
  101. * logging.c::
  102. * responseheaders.c::
  103. * basicauthentication.c::
  104. * simplepost.c::
  105. * largepost.c::
  106. * sessions.c::
  107. * tlsauthentication.c::
  108. @end menu
  109. @node hellobrowser.c
  110. @section hellobrowser.c
  111. @smalldisplay
  112. @verbatiminclude examples/hellobrowser.c
  113. @end smalldisplay
  114. @node logging.c
  115. @section logging.c
  116. @smalldisplay
  117. @verbatiminclude examples/logging.c
  118. @end smalldisplay
  119. @node responseheaders.c
  120. @section responseheaders.c
  121. @smalldisplay
  122. @verbatiminclude examples/responseheaders.c
  123. @end smalldisplay
  124. @node basicauthentication.c
  125. @section basicauthentication.c
  126. @smalldisplay
  127. @verbatiminclude examples/basicauthentication.c
  128. @end smalldisplay
  129. @node simplepost.c
  130. @section simplepost.c
  131. @smalldisplay
  132. @verbatiminclude examples/simplepost.c
  133. @end smalldisplay
  134. @node largepost.c
  135. @section largepost.c
  136. @smalldisplay
  137. @verbatiminclude examples/largepost.c
  138. @end smalldisplay
  139. @node sessions.c
  140. @section sessions.c
  141. @smalldisplay
  142. @verbatiminclude examples/sessions.c
  143. @end smalldisplay
  144. @node tlsauthentication.c
  145. @section tlsauthentication.c
  146. @smalldisplay
  147. @verbatiminclude examples/tlsauthentication.c
  148. @end smalldisplay
  149. @bye