tutorial.texi 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. \input texinfo @c -*-texinfo-*-
  2. @finalout
  3. @setfilename libmicrohttpdtutorial
  4. @settitle A tutorial for GNU libmicrohttpd
  5. @afourpaper
  6. @set VERSION 0.3.1 beta
  7. @titlepage
  8. @title A Tutorial for GNU libmicrohttpd
  9. @subtitle written for version @value{VERSION}
  10. @author Sebastian Gerhardt (@email{sebgerhardt@@gmx.net})
  11. @page
  12. @vskip 0pt plus 1filll
  13. @end titlepage
  14. @verbatim
  15. Copyright (c) 2008 Sebastian Gerhardt.
  16. Permission is granted to copy, distribute and/or modify this document
  17. under the terms of the GNU Free Documentation License, Version 1.2
  18. or any later version published by the Free Software Foundation;
  19. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
  20. Texts. A copy of the license is included in the section entitled "GNU
  21. Free Documentation License".
  22. @end verbatim
  23. @contents
  24. @ifnottex
  25. @node Top
  26. @top Top
  27. @end ifnottex
  28. @menu
  29. * Introduction::
  30. * Hello browser example::
  31. * Exploring requests::
  32. * Response headers::
  33. * Supporting basic authentication::
  34. * Processing POST data::
  35. * Improved processing of POST data::
  36. * Adding a layer of security::
  37. * Bibliography::
  38. * License text::
  39. * Example programs::
  40. @end menu
  41. @node Introduction
  42. @chapter Introduction
  43. @include chapters/introduction.inc
  44. @node Hello browser example
  45. @chapter Hello browser example
  46. @include chapters/hellobrowser.inc
  47. @node Exploring requests
  48. @chapter Exploring requests
  49. @include chapters/exploringrequests.inc
  50. @node Response headers
  51. @chapter Response headers
  52. @include chapters/responseheaders.inc
  53. @node Supporting basic authentication
  54. @chapter Supporting basic authentication
  55. @include chapters/basicauthentication.inc
  56. @node Processing POST data
  57. @chapter Processing POST data
  58. @include chapters/processingpost.inc
  59. @node Improved processing of POST data
  60. @chapter Improved processing of POST data
  61. @include chapters/largerpost.inc
  62. @node Adding a layer of security
  63. @chapter Adding a layer of security
  64. @include chapters/tlsauthentication.inc
  65. @node Bibliography
  66. @appendix Bibliography
  67. @include chapters/bibliography.inc
  68. @node License text
  69. @appendix GNU Free Documentation License
  70. @include fdl-1.2.texi
  71. @node Example programs
  72. @appendix Example programs
  73. @menu
  74. * hellobrowser.c::
  75. * logging.c::
  76. * responseheaders.c::
  77. * basicauthentication.c::
  78. * simplepost.c::
  79. * largepost.c::
  80. * tlsauthentication.c::
  81. @end menu
  82. @node hellobrowser.c
  83. @section hellobrowser.c
  84. @smalldisplay
  85. @verbatiminclude examples/hellobrowser.c
  86. @end smalldisplay
  87. @node logging.c
  88. @section logging.c
  89. @smalldisplay
  90. @verbatiminclude examples/logging.c
  91. @end smalldisplay
  92. @node responseheaders.c
  93. @section responseheaders.c
  94. @smalldisplay
  95. @verbatiminclude examples/responseheaders.c
  96. @end smalldisplay
  97. @node basicauthentication.c
  98. @section basicauthentication.c
  99. @smalldisplay
  100. @verbatiminclude examples/basicauthentication.c
  101. @end smalldisplay
  102. @node simplepost.c
  103. @section simplepost.c
  104. @smalldisplay
  105. @verbatiminclude examples/simplepost.c
  106. @end smalldisplay
  107. @node largepost.c
  108. @section largepost.c
  109. @smalldisplay
  110. @verbatiminclude examples/largepost.c
  111. @end smalldisplay
  112. @node tlsauthentication.c
  113. @section tlsauthentication.c
  114. @smalldisplay
  115. @verbatiminclude examples/tlsauthentication.c
  116. @end smalldisplay
  117. @bye