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