-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhttp_8h.html
4006 lines (3728 loc) · 245 KB
/
http_8h.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libevent: event2/http.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libevent
 <span id="projectnumber">2.2.1</span>
</div>
<div id="projectbrief">Event notification library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_db160b4728e6067cf5f9cc14ec42c79d.html">event2</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#define-members">Macros</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">http.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Basic support for HTTP serving.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include <<a class="el" href="util_8h_source.html">event2/util.h</a>></code><br />
<code>#include <event2/visibility.h></code><br />
</div>
<p><a href="http_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structevhttp__ext__method.html">evhttp_ext_method</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">structure that is passed to (and modified by) the extended method callback function <a href="structevhttp__ext__method.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0af7fd87198a77c559f7c93ce82be8cf"><td class="memItemLeft" align="right" valign="top"><a id="a0af7fd87198a77c559f7c93ce82be8cf"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_CON_LINGERING_CLOSE</b>   0x0020</td></tr>
<tr class="separator:a0af7fd87198a77c559f7c93ce82be8cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a2c2138dc5dc2dbff995b6e547b14bd"><td class="memItemLeft" align="right" valign="top"><a id="a7a2c2138dc5dc2dbff995b6e547b14bd"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_CON_PUBLIC_FLAGS_END</b>   0x100000</td></tr>
<tr class="separator:a7a2c2138dc5dc2dbff995b6e547b14bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a99bc687832a0db5bd3a618aa21c62f1f"><td class="memItemLeft" align="right" valign="top"><a id="a99bc687832a0db5bd3a618aa21c62f1f"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_CON_READ_ON_WRITE_ERROR</b>   0x0010</td></tr>
<tr class="separator:a99bc687832a0db5bd3a618aa21c62f1f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b51f866bbe05c8a3bb56bbc72e23486"><td class="memItemLeft" align="right" valign="top"><a id="a6b51f866bbe05c8a3bb56bbc72e23486"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_CON_REUSE_CONNECTED_ADDR</b>   0x0008</td></tr>
<tr class="separator:a6b51f866bbe05c8a3bb56bbc72e23486"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3cc3f35b8bee98f2e6e615776d3382fe"><td class="memItemLeft" align="right" valign="top"><a id="a3cc3f35b8bee98f2e6e615776d3382fe"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_METHOD_HAS_BODY</b>   0x0001</td></tr>
<tr class="separator:a3cc3f35b8bee98f2e6e615776d3382fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad90c3a17a5fe963201ad931eb13fe0a9"><td class="memItemLeft" align="right" valign="top"><a id="ad90c3a17a5fe963201ad931eb13fe0a9"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_REQ_MAX</b>   EVHTTP_REQ_MOVE</td></tr>
<tr class="separator:ad90c3a17a5fe963201ad931eb13fe0a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e07b513244778c1892a81bb2909111e"><td class="memItemLeft" align="right" valign="top"><a id="a3e07b513244778c1892a81bb2909111e"></a>
#define </td><td class="memItemRight" valign="bottom"><b>EVHTTP_SERVER_LINGERING_CLOSE</b>   0x0001</td></tr>
<tr class="separator:a3e07b513244778c1892a81bb2909111e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8260a82157dadb3a659cb1ba783bb304"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8260a82157dadb3a659cb1ba783bb304">EVHTTP_URI_HOST_STRIP_BRACKETS</a>   0x04</td></tr>
<tr class="memdesc:a8260a82157dadb3a659cb1ba783bb304"><td class="mdescLeft"> </td><td class="mdescRight">Strip brackets from the IPv6 address and only for <a class="el" href="http_8h.html#aaa22a9dc787b32f5133e81a7f5e96d25" title="Return the host part of an evhttp_uri, or NULL if it has no host set.">evhttp_uri_get_host()</a>, <a class="el" href="http_8h.html#a8eb220c9f81c70ccd3f69fb692cffbda" title="Join together the uri parts from parsed data to form a URI-Reference.">evhttp_uri_join()</a> returns the host with brackets. <a href="http_8h.html#a8260a82157dadb3a659cb1ba783bb304">More...</a><br /></td></tr>
<tr class="separator:a8260a82157dadb3a659cb1ba783bb304"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace576911d436a163584f4942907270a5"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ace576911d436a163584f4942907270a5">EVHTTP_URI_NONCONFORMANT</a>   0x01</td></tr>
<tr class="memdesc:ace576911d436a163584f4942907270a5"><td class="mdescLeft"> </td><td class="mdescRight">Tolerate URIs that do not conform to RFC3986. <a href="http_8h.html#ace576911d436a163584f4942907270a5">More...</a><br /></td></tr>
<tr class="separator:ace576911d436a163584f4942907270a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12b8b97844f5d13e2f7b6d5c9f8ce0b6"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a12b8b97844f5d13e2f7b6d5c9f8ce0b6">EVHTTP_URI_QUERY_LAST_VAL</a>   0x02</td></tr>
<tr class="memdesc:a12b8b97844f5d13e2f7b6d5c9f8ce0b6"><td class="mdescLeft"> </td><td class="mdescRight">Prefer last value over the first from query args. <a href="http_8h.html#a12b8b97844f5d13e2f7b6d5c9f8ce0b6">More...</a><br /></td></tr>
<tr class="separator:a12b8b97844f5d13e2f7b6d5c9f8ce0b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64c9b77846e83a6f3d45f4be4b7150de"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a64c9b77846e83a6f3d45f4be4b7150de">EVHTTP_URI_QUERY_NONCONFORMANT</a>   0x01</td></tr>
<tr class="memdesc:a64c9b77846e83a6f3d45f4be4b7150de"><td class="mdescLeft"> </td><td class="mdescRight">Tolerate queries that are not standard conformant. <a href="http_8h.html#a64c9b77846e83a6f3d45f4be4b7150de">More...</a><br /></td></tr>
<tr class="separator:a64c9b77846e83a6f3d45f4be4b7150de"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e2dab6e699d45bb208299312e73b2aa"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3e2dab6e699d45bb208299312e73b2aa">EVHTTP_URI_UNIX_SOCKET</a>   0x08</td></tr>
<tr class="memdesc:a3e2dab6e699d45bb208299312e73b2aa"><td class="mdescLeft"> </td><td class="mdescRight">Parse unix domain socket URIs, for example: <a href="http_8h.html#a3e2dab6e699d45bb208299312e73b2aa">More...</a><br /></td></tr>
<tr class="separator:a3e2dab6e699d45bb208299312e73b2aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad53204f337b45ad77e9a746e434d1817"><td class="memItemLeft" align="right" valign="top"><a id="ad53204f337b45ad77e9a746e434d1817"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad53204f337b45ad77e9a746e434d1817">HTTP_ACCEPTED</a>   202</td></tr>
<tr class="memdesc:ad53204f337b45ad77e9a746e434d1817"><td class="mdescLeft"> </td><td class="mdescRight">accepted for processing <br /></td></tr>
<tr class="separator:ad53204f337b45ad77e9a746e434d1817"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a746f663029189ec16d55d0d9546ac89d"><td class="memItemLeft" align="right" valign="top"><a id="a746f663029189ec16d55d0d9546ac89d"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a746f663029189ec16d55d0d9546ac89d">HTTP_BADGATEWAY</a>   502</td></tr>
<tr class="memdesc:a746f663029189ec16d55d0d9546ac89d"><td class="mdescLeft"> </td><td class="mdescRight">received an invalid response from the upstream <br /></td></tr>
<tr class="separator:a746f663029189ec16d55d0d9546ac89d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8d93bc2b08ddc194c213682c4726b0e6"><td class="memItemLeft" align="right" valign="top"><a id="a8d93bc2b08ddc194c213682c4726b0e6"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8d93bc2b08ddc194c213682c4726b0e6">HTTP_BADMETHOD</a>   405</td></tr>
<tr class="memdesc:a8d93bc2b08ddc194c213682c4726b0e6"><td class="mdescLeft"> </td><td class="mdescRight">method not allowed for this uri <br /></td></tr>
<tr class="separator:a8d93bc2b08ddc194c213682c4726b0e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9f070802de32cd2f820059fc42cbf39"><td class="memItemLeft" align="right" valign="top"><a id="af9f070802de32cd2f820059fc42cbf39"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#af9f070802de32cd2f820059fc42cbf39">HTTP_BADREQUEST</a>   400</td></tr>
<tr class="memdesc:af9f070802de32cd2f820059fc42cbf39"><td class="mdescLeft"> </td><td class="mdescRight">invalid http request was made <br /></td></tr>
<tr class="separator:af9f070802de32cd2f820059fc42cbf39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c520c5e65c710a1c7bbb1fa79fd3a9d"><td class="memItemLeft" align="right" valign="top"><a id="a3c520c5e65c710a1c7bbb1fa79fd3a9d"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3c520c5e65c710a1c7bbb1fa79fd3a9d">HTTP_CONTINUE</a>   100</td></tr>
<tr class="memdesc:a3c520c5e65c710a1c7bbb1fa79fd3a9d"><td class="mdescLeft"> </td><td class="mdescRight">client should proceed to send <br /></td></tr>
<tr class="separator:a3c520c5e65c710a1c7bbb1fa79fd3a9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac19a79fb4cf575d20efd0633c1669ed9"><td class="memItemLeft" align="right" valign="top"><a id="ac19a79fb4cf575d20efd0633c1669ed9"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac19a79fb4cf575d20efd0633c1669ed9">HTTP_CREATED</a>   201</td></tr>
<tr class="memdesc:ac19a79fb4cf575d20efd0633c1669ed9"><td class="mdescLeft"> </td><td class="mdescRight">new resource is created <br /></td></tr>
<tr class="separator:ac19a79fb4cf575d20efd0633c1669ed9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acebc611f41e394b875f6283a4840d9d9"><td class="memItemLeft" align="right" valign="top"><a id="acebc611f41e394b875f6283a4840d9d9"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#acebc611f41e394b875f6283a4840d9d9">HTTP_EARLYHINTS</a>   103</td></tr>
<tr class="memdesc:acebc611f41e394b875f6283a4840d9d9"><td class="mdescLeft"> </td><td class="mdescRight">return some response headers <br /></td></tr>
<tr class="separator:acebc611f41e394b875f6283a4840d9d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64236d9bad703199d84a08bee90e00f0"><td class="memItemLeft" align="right" valign="top"><a id="a64236d9bad703199d84a08bee90e00f0"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a64236d9bad703199d84a08bee90e00f0">HTTP_ENTITYTOOLARGE</a>   413</td></tr>
<tr class="memdesc:a64236d9bad703199d84a08bee90e00f0"><td class="mdescLeft"> </td><td class="mdescRight">request is larger than the server is able to process <br /></td></tr>
<tr class="separator:a64236d9bad703199d84a08bee90e00f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4eac9f52d3d8de9b3deadaec6ad0bee9"><td class="memItemLeft" align="right" valign="top"><a id="a4eac9f52d3d8de9b3deadaec6ad0bee9"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a4eac9f52d3d8de9b3deadaec6ad0bee9">HTTP_EXPECTATIONFAILED</a>   417</td></tr>
<tr class="memdesc:a4eac9f52d3d8de9b3deadaec6ad0bee9"><td class="mdescLeft"> </td><td class="mdescRight">we can't handle this expectation <br /></td></tr>
<tr class="separator:a4eac9f52d3d8de9b3deadaec6ad0bee9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a92646f876056a1e5013e0050496dc04d"><td class="memItemLeft" align="right" valign="top"><a id="a92646f876056a1e5013e0050496dc04d"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a92646f876056a1e5013e0050496dc04d">HTTP_FORBIDDEN</a>   403</td></tr>
<tr class="memdesc:a92646f876056a1e5013e0050496dc04d"><td class="mdescLeft"> </td><td class="mdescRight">user not having the necessary permissions <br /></td></tr>
<tr class="separator:a92646f876056a1e5013e0050496dc04d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15eac402986428a8125d364b7ae569b1"><td class="memItemLeft" align="right" valign="top"><a id="a15eac402986428a8125d364b7ae569b1"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a15eac402986428a8125d364b7ae569b1">HTTP_INTERNAL</a>   500</td></tr>
<tr class="memdesc:a15eac402986428a8125d364b7ae569b1"><td class="mdescLeft"> </td><td class="mdescRight">internal error <br /></td></tr>
<tr class="separator:a15eac402986428a8125d364b7ae569b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6ffbb7b69889f1eee0d413576c609a9"><td class="memItemLeft" align="right" valign="top"><a id="ac6ffbb7b69889f1eee0d413576c609a9"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac6ffbb7b69889f1eee0d413576c609a9">HTTP_MOVEPERM</a>   301</td></tr>
<tr class="memdesc:ac6ffbb7b69889f1eee0d413576c609a9"><td class="mdescLeft"> </td><td class="mdescRight">the uri moved permanently <br /></td></tr>
<tr class="separator:ac6ffbb7b69889f1eee0d413576c609a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d2a7341ba2af15babe8c25df67e563f"><td class="memItemLeft" align="right" valign="top"><a id="a7d2a7341ba2af15babe8c25df67e563f"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a7d2a7341ba2af15babe8c25df67e563f">HTTP_MOVETEMP</a>   302</td></tr>
<tr class="memdesc:a7d2a7341ba2af15babe8c25df67e563f"><td class="mdescLeft"> </td><td class="mdescRight">the uri moved temporarily <br /></td></tr>
<tr class="separator:a7d2a7341ba2af15babe8c25df67e563f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac5e3a483119375a05d199c30709f2b8e"><td class="memItemLeft" align="right" valign="top"><a id="ac5e3a483119375a05d199c30709f2b8e"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac5e3a483119375a05d199c30709f2b8e">HTTP_NOCONTENT</a>   204</td></tr>
<tr class="memdesc:ac5e3a483119375a05d199c30709f2b8e"><td class="mdescLeft"> </td><td class="mdescRight">request does not have content <br /></td></tr>
<tr class="separator:ac5e3a483119375a05d199c30709f2b8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9789b35d84095b35f7ab1d9913fff4e"><td class="memItemLeft" align="right" valign="top"><a id="ab9789b35d84095b35f7ab1d9913fff4e"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ab9789b35d84095b35f7ab1d9913fff4e">HTTP_NONAUTHORITATIVE</a>   203</td></tr>
<tr class="memdesc:ab9789b35d84095b35f7ab1d9913fff4e"><td class="mdescLeft"> </td><td class="mdescRight">returning a modified version of the origin's response <br /></td></tr>
<tr class="separator:ab9789b35d84095b35f7ab1d9913fff4e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1f5b9c02b018640c890e5f27207fa6c0"><td class="memItemLeft" align="right" valign="top"><a id="a1f5b9c02b018640c890e5f27207fa6c0"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a1f5b9c02b018640c890e5f27207fa6c0">HTTP_NOTFOUND</a>   404</td></tr>
<tr class="memdesc:a1f5b9c02b018640c890e5f27207fa6c0"><td class="mdescLeft"> </td><td class="mdescRight">could not find content for uri <br /></td></tr>
<tr class="separator:a1f5b9c02b018640c890e5f27207fa6c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9759dd4ad026a688142afb7b4e4542cc"><td class="memItemLeft" align="right" valign="top"><a id="a9759dd4ad026a688142afb7b4e4542cc"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a9759dd4ad026a688142afb7b4e4542cc">HTTP_NOTIMPLEMENTED</a>   501</td></tr>
<tr class="memdesc:a9759dd4ad026a688142afb7b4e4542cc"><td class="mdescLeft"> </td><td class="mdescRight">not implemented <br /></td></tr>
<tr class="separator:a9759dd4ad026a688142afb7b4e4542cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3112d58297965db46a04fe288bf1d0da"><td class="memItemLeft" align="right" valign="top"><a id="a3112d58297965db46a04fe288bf1d0da"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3112d58297965db46a04fe288bf1d0da">HTTP_NOTMODIFIED</a>   304</td></tr>
<tr class="memdesc:a3112d58297965db46a04fe288bf1d0da"><td class="mdescLeft"> </td><td class="mdescRight">page was not modified from last <br /></td></tr>
<tr class="separator:a3112d58297965db46a04fe288bf1d0da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02e6d59009dee759528ec81fc9a8eeff"><td class="memItemLeft" align="right" valign="top"><a id="a02e6d59009dee759528ec81fc9a8eeff"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a02e6d59009dee759528ec81fc9a8eeff">HTTP_OK</a>   200</td></tr>
<tr class="memdesc:a02e6d59009dee759528ec81fc9a8eeff"><td class="mdescLeft"> </td><td class="mdescRight">request completed ok <br /></td></tr>
<tr class="separator:a02e6d59009dee759528ec81fc9a8eeff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaae52dca74d8f240798a3daf8396bfe5"><td class="memItemLeft" align="right" valign="top"><a id="aaae52dca74d8f240798a3daf8396bfe5"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aaae52dca74d8f240798a3daf8396bfe5">HTTP_PAYMENTREQUIRED</a>   402</td></tr>
<tr class="memdesc:aaae52dca74d8f240798a3daf8396bfe5"><td class="mdescLeft"> </td><td class="mdescRight">user exceeded limit on requests <br /></td></tr>
<tr class="separator:aaae52dca74d8f240798a3daf8396bfe5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad76b47755281ea8ba65edc6683be8f9"><td class="memItemLeft" align="right" valign="top"><a id="aad76b47755281ea8ba65edc6683be8f9"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aad76b47755281ea8ba65edc6683be8f9">HTTP_PROCESSING</a>   102</td></tr>
<tr class="memdesc:aad76b47755281ea8ba65edc6683be8f9"><td class="mdescLeft"> </td><td class="mdescRight">processing the request, but no response is available yet <br /></td></tr>
<tr class="separator:aad76b47755281ea8ba65edc6683be8f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5fd6829fe2bb38dd13288f11dcb2025f"><td class="memItemLeft" align="right" valign="top"><a id="a5fd6829fe2bb38dd13288f11dcb2025f"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5fd6829fe2bb38dd13288f11dcb2025f">HTTP_SERVUNAVAIL</a>   503</td></tr>
<tr class="memdesc:a5fd6829fe2bb38dd13288f11dcb2025f"><td class="mdescLeft"> </td><td class="mdescRight">the server is not available <br /></td></tr>
<tr class="separator:a5fd6829fe2bb38dd13288f11dcb2025f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa0a6a40f95575cb08438f396f0711017"><td class="memItemLeft" align="right" valign="top"><a id="aa0a6a40f95575cb08438f396f0711017"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aa0a6a40f95575cb08438f396f0711017">HTTP_SWITCH_PROTOCOLS</a>   101</td></tr>
<tr class="memdesc:aa0a6a40f95575cb08438f396f0711017"><td class="mdescLeft"> </td><td class="mdescRight">switching to another protocol <br /></td></tr>
<tr class="separator:aa0a6a40f95575cb08438f396f0711017"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac4cfa4b7a737abff1264ddba3752a2ad"><td class="memItemLeft" align="right" valign="top"><a id="ac4cfa4b7a737abff1264ddba3752a2ad"></a>
#define </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac4cfa4b7a737abff1264ddba3752a2ad">HTTP_UNAUTHORIZED</a>   401</td></tr>
<tr class="memdesc:ac4cfa4b7a737abff1264ddba3752a2ad"><td class="mdescLeft"> </td><td class="mdescRight">authentication is required <br /></td></tr>
<tr class="separator:ac4cfa4b7a737abff1264ddba3752a2ad"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a8b0136e9f2fc3d95a98a36ac6e2489d5"><td class="memItemLeft" align="right" valign="top"><a id="a8b0136e9f2fc3d95a98a36ac6e2489d5"></a>
typedef void </td><td class="memItemRight" valign="bottom"><b>evhttp_bound_socket_foreach_fn</b>(struct evhttp_bound_socket *, void *)</td></tr>
<tr class="separator:a8b0136e9f2fc3d95a98a36ac6e2489d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acdcaed41e21e9801ffd52cb784cc3c0a"><td class="memItemLeft" align="right" valign="top"><a id="acdcaed41e21e9801ffd52cb784cc3c0a"></a>
typedef int(* </td><td class="memItemRight" valign="bottom"><b>evhttp_ext_method_cb</b>) (struct <a class="el" href="structevhttp__ext__method.html">evhttp_ext_method</a> *)</td></tr>
<tr class="separator:acdcaed41e21e9801ffd52cb784cc3c0a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac858319d667267f9fc848c2bb6931aa3"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a> { <br />
  <b>EVHTTP_REQ_GET</b> = 1 << 0,
<b>EVHTTP_REQ_POST</b> = 1 << 1,
<b>EVHTTP_REQ_HEAD</b> = 1 << 2,
<b>EVHTTP_REQ_PUT</b> = 1 << 3,
<br />
  <b>EVHTTP_REQ_DELETE</b> = 1 << 4,
<b>EVHTTP_REQ_OPTIONS</b> = 1 << 5,
<b>EVHTTP_REQ_TRACE</b> = 1 << 6,
<b>EVHTTP_REQ_CONNECT</b> = 1 << 7,
<br />
  <b>EVHTTP_REQ_PATCH</b> = 1 << 8,
<b>EVHTTP_REQ_PROPFIND</b> = 1 << 9,
<b>EVHTTP_REQ_PROPPATCH</b> =1 << 10,
<b>EVHTTP_REQ_MKCOL</b> = 1 << 11,
<br />
  <b>EVHTTP_REQ_LOCK</b> = 1 << 12,
<b>EVHTTP_REQ_UNLOCK</b> = 1 << 13,
<b>EVHTTP_REQ_COPY</b> = 1 << 14,
<b>EVHTTP_REQ_MOVE</b> = 1 << 15
<br />
}</td></tr>
<tr class="memdesc:ac858319d667267f9fc848c2bb6931aa3"><td class="mdescLeft"> </td><td class="mdescRight">The different request types supported by evhttp. <a href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">More...</a><br /></td></tr>
<tr class="separator:ac858319d667267f9fc848c2bb6931aa3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01f921a909d1504f873222b1d29c2b4a"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">evhttp_request_error</a> { <br />
  <a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa52bd0bcf036c6577b3ea55c7c086880d">EVREQ_HTTP_TIMEOUT</a>,
<a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac2922c6ca9cd576a7e722f18876676a8">EVREQ_HTTP_EOF</a>,
<a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aad755cf3b1ab25bdfede358b137e7d1e4">EVREQ_HTTP_INVALID_HEADER</a>,
<a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aa3bd6cb0d713a8ae9eaa3cf667a3edc9b">EVREQ_HTTP_BUFFER_ERROR</a>,
<br />
  <a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aaa07ee0241ac812c0e8bc1eabc5ac810d">EVREQ_HTTP_REQUEST_CANCEL</a>,
<a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4aac26adda43a54b9011756e83e93b9b26b">EVREQ_HTTP_DATA_TOO_LONG</a>
<br />
}</td></tr>
<tr class="memdesc:a01f921a909d1504f873222b1d29c2b4a"><td class="mdescLeft"> </td><td class="mdescRight">The different error types supported by evhttp. <a href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">More...</a><br /></td></tr>
<tr class="separator:a01f921a909d1504f873222b1d29c2b4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47ca41a942899d019bf59cf32301ae4f"><td class="memItemLeft" align="right" valign="top"><a id="a47ca41a942899d019bf59cf32301ae4f"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a47ca41a942899d019bf59cf32301ae4f">evhttp_request_kind</a> { <b>EVHTTP_REQUEST</b>,
<b>EVHTTP_RESPONSE</b>
}</td></tr>
<tr class="memdesc:a47ca41a942899d019bf59cf32301ae4f"><td class="mdescLeft"> </td><td class="mdescRight">a request object can represent either a request or a reply <br /></td></tr>
<tr class="separator:a47ca41a942899d019bf59cf32301ae4f"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae8599595a7617e5e3c213e45c10d22a0"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0">evhttp_accept_socket</a> (struct evhttp *http, <a class="el" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> fd)</td></tr>
<tr class="memdesc:ae8599595a7617e5e3c213e45c10d22a0"><td class="mdescLeft"> </td><td class="mdescRight">Makes an HTTP server accept connections on the specified socket. <a href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0">More...</a><br /></td></tr>
<tr class="separator:ae8599595a7617e5e3c213e45c10d22a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a68381a3b8dbab796bdcf44ef64a45a73"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a68381a3b8dbab796bdcf44ef64a45a73">evhttp_accept_socket_with_handle</a> (struct evhttp *http, <a class="el" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> fd)</td></tr>
<tr class="memdesc:a68381a3b8dbab796bdcf44ef64a45a73"><td class="mdescLeft"> </td><td class="mdescRight">Like <a class="el" href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0" title="Makes an HTTP server accept connections on the specified socket.">evhttp_accept_socket()</a>, but returns a handle for referencing the socket. <a href="http_8h.html#a68381a3b8dbab796bdcf44ef64a45a73">More...</a><br /></td></tr>
<tr class="separator:a68381a3b8dbab796bdcf44ef64a45a73"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a04d806174bb259be406b32669a4ed9cc"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a04d806174bb259be406b32669a4ed9cc">evhttp_add_header</a> (struct evkeyvalq *headers, const char *key, const char *value)</td></tr>
<tr class="memdesc:a04d806174bb259be406b32669a4ed9cc"><td class="mdescLeft"> </td><td class="mdescRight">Adds a header to a list of existing headers. <a href="http_8h.html#a04d806174bb259be406b32669a4ed9cc">More...</a><br /></td></tr>
<tr class="separator:a04d806174bb259be406b32669a4ed9cc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa5936add0f808199f617be4aa42bbd7"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#afa5936add0f808199f617be4aa42bbd7">evhttp_add_server_alias</a> (struct evhttp *http, const char *alias)</td></tr>
<tr class="memdesc:afa5936add0f808199f617be4aa42bbd7"><td class="mdescLeft"> </td><td class="mdescRight">Add a server alias to an http object. <a href="http_8h.html#afa5936add0f808199f617be4aa42bbd7">More...</a><br /></td></tr>
<tr class="separator:afa5936add0f808199f617be4aa42bbd7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad89bdd6053de1ff73fab1b2bb3c3182f"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad89bdd6053de1ff73fab1b2bb3c3182f">evhttp_add_virtual_host</a> (struct evhttp *http, const char *pattern, struct evhttp *vhost)</td></tr>
<tr class="memdesc:ad89bdd6053de1ff73fab1b2bb3c3182f"><td class="mdescLeft"> </td><td class="mdescRight">Adds a virtual host to the http server. <a href="http_8h.html#ad89bdd6053de1ff73fab1b2bb3c3182f">More...</a><br /></td></tr>
<tr class="separator:ad89bdd6053de1ff73fab1b2bb3c3182f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a18d321f8f459b7d6e1826b3e8c53c921"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a18d321f8f459b7d6e1826b3e8c53c921">evhttp_bind_listener</a> (struct evhttp *http, struct evconnlistener *listener)</td></tr>
<tr class="memdesc:a18d321f8f459b7d6e1826b3e8c53c921"><td class="mdescLeft"> </td><td class="mdescRight">The most low-level evhttp_bind/accept method: takes an evconnlistener, and returns an evhttp_bound_socket. <a href="http_8h.html#a18d321f8f459b7d6e1826b3e8c53c921">More...</a><br /></td></tr>
<tr class="separator:a18d321f8f459b7d6e1826b3e8c53c921"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3431520b3bd31e957e93e519b2fe56a5"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3431520b3bd31e957e93e519b2fe56a5">evhttp_bind_socket</a> (struct evhttp *http, const char *address, ev_uint16_t port)</td></tr>
<tr class="memdesc:a3431520b3bd31e957e93e519b2fe56a5"><td class="mdescLeft"> </td><td class="mdescRight">Binds an HTTP server on the specified address and port. <a href="http_8h.html#a3431520b3bd31e957e93e519b2fe56a5">More...</a><br /></td></tr>
<tr class="separator:a3431520b3bd31e957e93e519b2fe56a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5cb57564c8af123b17e8330d2f104a1d"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5cb57564c8af123b17e8330d2f104a1d">evhttp_bind_socket_with_handle</a> (struct evhttp *http, const char *address, ev_uint16_t port)</td></tr>
<tr class="memdesc:a5cb57564c8af123b17e8330d2f104a1d"><td class="mdescLeft"> </td><td class="mdescRight">Like <a class="el" href="http_8h.html#a3431520b3bd31e957e93e519b2fe56a5" title="Binds an HTTP server on the specified address and port.">evhttp_bind_socket()</a>, but returns a handle for referencing the socket. <a href="http_8h.html#a5cb57564c8af123b17e8330d2f104a1d">More...</a><br /></td></tr>
<tr class="separator:a5cb57564c8af123b17e8330d2f104a1d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d918f8cecd97551e9a9adc04343bdd0"><td class="memItemLeft" align="right" valign="top"><a id="a5d918f8cecd97551e9a9adc04343bdd0"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><b>evhttp_bound_set_bevcb</b> (struct evhttp_bound_socket *bound, struct <a class="el" href="structbufferevent.html">bufferevent</a> *(*cb)(struct <a class="el" href="structevent__base.html">event_base</a> *, void *), void *cbarg)</td></tr>
<tr class="separator:a5d918f8cecd97551e9a9adc04343bdd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a586eeb946ec397fec8094c25b7d1d9e4"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL <a class="el" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a586eeb946ec397fec8094c25b7d1d9e4">evhttp_bound_socket_get_fd</a> (struct evhttp_bound_socket *bound_socket)</td></tr>
<tr class="memdesc:a586eeb946ec397fec8094c25b7d1d9e4"><td class="mdescLeft"> </td><td class="mdescRight">Get the raw file descriptor referenced by an evhttp_bound_socket. <a href="http_8h.html#a586eeb946ec397fec8094c25b7d1d9e4">More...</a><br /></td></tr>
<tr class="separator:a586eeb946ec397fec8094c25b7d1d9e4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4216e1d29237ab9511eaf55433293e8b"><td class="memItemLeft" align="right" valign="top"><a id="a4216e1d29237ab9511eaf55433293e8b"></a>
EVENT2_EXPORT_SYMBOL struct evconnlistener * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a4216e1d29237ab9511eaf55433293e8b">evhttp_bound_socket_get_listener</a> (struct evhttp_bound_socket *bound)</td></tr>
<tr class="memdesc:a4216e1d29237ab9511eaf55433293e8b"><td class="mdescLeft"> </td><td class="mdescRight">Return the listener used to implement a bound socket. <br /></td></tr>
<tr class="separator:a4216e1d29237ab9511eaf55433293e8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7758d5808bd2e062d2aa3912ca19d2fd"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a7758d5808bd2e062d2aa3912ca19d2fd">evhttp_cancel_request</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a7758d5808bd2e062d2aa3912ca19d2fd"><td class="mdescLeft"> </td><td class="mdescRight">Cancels a pending HTTP request. <a href="http_8h.html#a7758d5808bd2e062d2aa3912ca19d2fd">More...</a><br /></td></tr>
<tr class="separator:a7758d5808bd2e062d2aa3912ca19d2fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2399662cdf2e300251d4330c649ac77"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad2399662cdf2e300251d4330c649ac77">evhttp_clear_headers</a> (struct evkeyvalq *headers)</td></tr>
<tr class="memdesc:ad2399662cdf2e300251d4330c649ac77"><td class="mdescLeft"> </td><td class="mdescRight">Removes all headers from the header list. <a href="http_8h.html#ad2399662cdf2e300251d4330c649ac77">More...</a><br /></td></tr>
<tr class="separator:ad2399662cdf2e300251d4330c649ac77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab6a2f82ff7323986705ead089a2d3f58"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_connection * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ab6a2f82ff7323986705ead089a2d3f58">evhttp_connection_base_bufferevent_new</a> (struct <a class="el" href="structevent__base.html">event_base</a> *base, struct evdns_base *dnsbase, struct <a class="el" href="structbufferevent.html">bufferevent</a> *bev, const char *address, ev_uint16_t port)</td></tr>
<tr class="memdesc:ab6a2f82ff7323986705ead089a2d3f58"><td class="mdescLeft"> </td><td class="mdescRight">Create and return a connection object that can be used to for making HTTP requests. <a href="http_8h.html#ab6a2f82ff7323986705ead089a2d3f58">More...</a><br /></td></tr>
<tr class="separator:ab6a2f82ff7323986705ead089a2d3f58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a04e86dbadabfc36abc80fc317cb33242"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_connection * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a04e86dbadabfc36abc80fc317cb33242">evhttp_connection_base_bufferevent_reuse_new</a> (struct <a class="el" href="structevent__base.html">event_base</a> *base, struct evdns_base *dnsbase, struct <a class="el" href="structbufferevent.html">bufferevent</a> *bev)</td></tr>
<tr class="memdesc:a04e86dbadabfc36abc80fc317cb33242"><td class="mdescLeft"> </td><td class="mdescRight">Create and return a connection object that can be used to for making HTTP requests. <a href="http_8h.html#a04e86dbadabfc36abc80fc317cb33242">More...</a><br /></td></tr>
<tr class="separator:a04e86dbadabfc36abc80fc317cb33242"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab47f88b970a6a49c0297cd7314f154b"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_connection * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aab47f88b970a6a49c0297cd7314f154b">evhttp_connection_base_bufferevent_unix_new</a> (struct <a class="el" href="structevent__base.html">event_base</a> *base, struct <a class="el" href="structbufferevent.html">bufferevent</a> *bev, const char *path)</td></tr>
<tr class="memdesc:aab47f88b970a6a49c0297cd7314f154b"><td class="mdescLeft"> </td><td class="mdescRight">Create and return a connection object that can be used to for making HTTP requests over an unix domain socket. <a href="http_8h.html#aab47f88b970a6a49c0297cd7314f154b">More...</a><br /></td></tr>
<tr class="separator:aab47f88b970a6a49c0297cd7314f154b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae91224cfece07d01a029eb67e9053819"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_connection * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae91224cfece07d01a029eb67e9053819">evhttp_connection_base_new</a> (struct <a class="el" href="structevent__base.html">event_base</a> *base, struct evdns_base *dnsbase, const char *address, ev_uint16_t port)</td></tr>
<tr class="memdesc:ae91224cfece07d01a029eb67e9053819"><td class="mdescLeft"> </td><td class="mdescRight">Create and return a connection object that can be used to for making HTTP requests. <a href="http_8h.html#ae91224cfece07d01a029eb67e9053819">More...</a><br /></td></tr>
<tr class="separator:ae91224cfece07d01a029eb67e9053819"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf15e06932005ac0bc890b6fe72b19e3"><td class="memItemLeft" align="right" valign="top"><a id="aaf15e06932005ac0bc890b6fe72b19e3"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aaf15e06932005ac0bc890b6fe72b19e3">evhttp_connection_free</a> (struct evhttp_connection *evcon)</td></tr>
<tr class="memdesc:aaf15e06932005ac0bc890b6fe72b19e3"><td class="mdescLeft"> </td><td class="mdescRight">Frees an http connection. <br /></td></tr>
<tr class="separator:aaf15e06932005ac0bc890b6fe72b19e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af33ddcfb93380ab98ac0f75426480824"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#af33ddcfb93380ab98ac0f75426480824">evhttp_connection_free_on_completion</a> (struct evhttp_connection *evcon)</td></tr>
<tr class="memdesc:af33ddcfb93380ab98ac0f75426480824"><td class="mdescLeft"> </td><td class="mdescRight">Disowns a given connection object. <a href="http_8h.html#af33ddcfb93380ab98ac0f75426480824">More...</a><br /></td></tr>
<tr class="separator:af33ddcfb93380ab98ac0f75426480824"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0097ea31d96c509962b3d3df5ca6958"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL const struct sockaddr * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae0097ea31d96c509962b3d3df5ca6958">evhttp_connection_get_addr</a> (struct evhttp_connection *evcon)</td></tr>
<tr class="memdesc:ae0097ea31d96c509962b3d3df5ca6958"><td class="mdescLeft"> </td><td class="mdescRight">Get the remote address associated with this connection. <a href="http_8h.html#ae0097ea31d96c509962b3d3df5ca6958">More...</a><br /></td></tr>
<tr class="separator:ae0097ea31d96c509962b3d3df5ca6958"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a605b42ad45d6e804e1a21204b33a2e42"><td class="memItemLeft" align="right" valign="top"><a id="a605b42ad45d6e804e1a21204b33a2e42"></a>
EVENT2_EXPORT_SYMBOL struct <a class="el" href="structevent__base.html">event_base</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a605b42ad45d6e804e1a21204b33a2e42">evhttp_connection_get_base</a> (struct evhttp_connection *req)</td></tr>
<tr class="memdesc:a605b42ad45d6e804e1a21204b33a2e42"><td class="mdescLeft"> </td><td class="mdescRight">Returns the underlying <a class="el" href="structevent__base.html" title="Structure to hold information and state for a Libevent dispatch loop.">event_base</a> for this connection. <br /></td></tr>
<tr class="separator:a605b42ad45d6e804e1a21204b33a2e42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a04ae09d5ca4ced488a0feb4b5145e95c"><td class="memItemLeft" align="right" valign="top"><a id="a04ae09d5ca4ced488a0feb4b5145e95c"></a>
EVENT2_EXPORT_SYMBOL struct <a class="el" href="structbufferevent.html">bufferevent</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a04ae09d5ca4ced488a0feb4b5145e95c">evhttp_connection_get_bufferevent</a> (struct evhttp_connection *evcon)</td></tr>
<tr class="memdesc:a04ae09d5ca4ced488a0feb4b5145e95c"><td class="mdescLeft"> </td><td class="mdescRight">Return the bufferevent that an evhttp_connection is using. <br /></td></tr>
<tr class="separator:a04ae09d5ca4ced488a0feb4b5145e95c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8d21ffce46e0207d97d31cfac295e079"><td class="memItemLeft" align="right" valign="top"><a id="a8d21ffce46e0207d97d31cfac295e079"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8d21ffce46e0207d97d31cfac295e079">evhttp_connection_get_peer</a> (struct evhttp_connection *evcon, const char **address, ev_uint16_t *port)</td></tr>
<tr class="memdesc:a8d21ffce46e0207d97d31cfac295e079"><td class="mdescLeft"> </td><td class="mdescRight">Get the remote address and port associated with this connection. <br /></td></tr>
<tr class="separator:a8d21ffce46e0207d97d31cfac295e079"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ab7ae144cf7aac8a512deb0dbaf9ac8"><td class="memItemLeft" align="right" valign="top"><a id="a4ab7ae144cf7aac8a512deb0dbaf9ac8"></a>
EVENT2_EXPORT_SYMBOL struct evhttp * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a4ab7ae144cf7aac8a512deb0dbaf9ac8">evhttp_connection_get_server</a> (struct evhttp_connection *evcon)</td></tr>
<tr class="memdesc:a4ab7ae144cf7aac8a512deb0dbaf9ac8"><td class="mdescLeft"> </td><td class="mdescRight">Return the HTTP server associated with this connection, or NULL. <br /></td></tr>
<tr class="separator:a4ab7ae144cf7aac8a512deb0dbaf9ac8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afac5a00d6baf28ecb5c7d52dee757bd1"><td class="memItemLeft" align="right" valign="top"><a id="afac5a00d6baf28ecb5c7d52dee757bd1"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#afac5a00d6baf28ecb5c7d52dee757bd1">evhttp_connection_set_closecb</a> (struct evhttp_connection *evcon, void(*)(struct evhttp_connection *, void *), void *)</td></tr>
<tr class="memdesc:afac5a00d6baf28ecb5c7d52dee757bd1"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback for connection close. <br /></td></tr>
<tr class="separator:afac5a00d6baf28ecb5c7d52dee757bd1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3070128a12534b199f5dd24673fad4c4"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3070128a12534b199f5dd24673fad4c4">evhttp_connection_set_connect_timeout_tv</a> (struct evhttp_connection *evcon, const struct timeval *tv)</td></tr>
<tr class="memdesc:a3070128a12534b199f5dd24673fad4c4"><td class="mdescLeft"> </td><td class="mdescRight">Sets the connect timeout for this connection. <a href="http_8h.html#a3070128a12534b199f5dd24673fad4c4">More...</a><br /></td></tr>
<tr class="separator:a3070128a12534b199f5dd24673fad4c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b60b73ced5441bd9a2a4fe114db7db0"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8b60b73ced5441bd9a2a4fe114db7db0">evhttp_connection_set_ext_method_cmp</a> (struct evhttp_connection *evcon, evhttp_ext_method_cb cmp)</td></tr>
<tr class="memdesc:a8b60b73ced5441bd9a2a4fe114db7db0"><td class="mdescLeft"> </td><td class="mdescRight">Sets extended method cmp callback for this http connection. <a href="http_8h.html#a8b60b73ced5441bd9a2a4fe114db7db0">More...</a><br /></td></tr>
<tr class="separator:a8b60b73ced5441bd9a2a4fe114db7db0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a33eb3d75bb0ae4b4d19678f8f7d97636"><td class="memItemLeft" align="right" valign="top"><a id="a33eb3d75bb0ae4b4d19678f8f7d97636"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a33eb3d75bb0ae4b4d19678f8f7d97636">evhttp_connection_set_family</a> (struct evhttp_connection *evcon, int family)</td></tr>
<tr class="memdesc:a33eb3d75bb0ae4b4d19678f8f7d97636"><td class="mdescLeft"> </td><td class="mdescRight">Set family hint for DNS requests. <br /></td></tr>
<tr class="separator:a33eb3d75bb0ae4b4d19678f8f7d97636"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a081b1b41e26d62c5690bdd79109cdcfd"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a081b1b41e26d62c5690bdd79109cdcfd">evhttp_connection_set_flags</a> (struct evhttp_connection *evcon, int flags)</td></tr>
<tr class="memdesc:a081b1b41e26d62c5690bdd79109cdcfd"><td class="mdescLeft"> </td><td class="mdescRight">Set connection flags. <a href="http_8h.html#a081b1b41e26d62c5690bdd79109cdcfd">More...</a><br /></td></tr>
<tr class="separator:a081b1b41e26d62c5690bdd79109cdcfd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b33510923ba80494353419fd769729c"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8b33510923ba80494353419fd769729c">evhttp_connection_set_initial_retry_tv</a> (struct evhttp_connection *evcon, const struct timeval *tv)</td></tr>
<tr class="memdesc:a8b33510923ba80494353419fd769729c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the delay before retrying requests on this connection. <a href="http_8h.html#a8b33510923ba80494353419fd769729c">More...</a><br /></td></tr>
<tr class="separator:a8b33510923ba80494353419fd769729c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1125aa44cce8ee1faf9c0bdfc6e815c8"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a1125aa44cce8ee1faf9c0bdfc6e815c8">evhttp_connection_set_local_address</a> (struct evhttp_connection *evcon, const char *address)</td></tr>
<tr class="memdesc:a1125aa44cce8ee1faf9c0bdfc6e815c8"><td class="mdescLeft"> </td><td class="mdescRight">Sets the IP address from which http connections are made. <a href="http_8h.html#a1125aa44cce8ee1faf9c0bdfc6e815c8">More...</a><br /></td></tr>
<tr class="separator:a1125aa44cce8ee1faf9c0bdfc6e815c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a881ace0b082a725cbd7156e8d701db7a"><td class="memItemLeft" align="right" valign="top"><a id="a881ace0b082a725cbd7156e8d701db7a"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a881ace0b082a725cbd7156e8d701db7a">evhttp_connection_set_local_port</a> (struct evhttp_connection *evcon, ev_uint16_t port)</td></tr>
<tr class="memdesc:a881ace0b082a725cbd7156e8d701db7a"><td class="mdescLeft"> </td><td class="mdescRight">sets the local port from which http connections are made <br /></td></tr>
<tr class="separator:a881ace0b082a725cbd7156e8d701db7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e9b7ca78b1c2c40c4af2af828bbdcd4"><td class="memItemLeft" align="right" valign="top"><a id="a1e9b7ca78b1c2c40c4af2af828bbdcd4"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><b>evhttp_connection_set_max_body_size</b> (struct evhttp_connection *evcon, ev_ssize_t new_max_body_size)</td></tr>
<tr class="separator:a1e9b7ca78b1c2c40c4af2af828bbdcd4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a483788595dec2a3def04b7bfab0a4201"><td class="memItemLeft" align="right" valign="top"><a id="a483788595dec2a3def04b7bfab0a4201"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><b>evhttp_connection_set_max_headers_size</b> (struct evhttp_connection *evcon, ev_ssize_t new_max_headers_size)</td></tr>
<tr class="separator:a483788595dec2a3def04b7bfab0a4201"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ce5c2c1090309215004e8490014d7a8"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8ce5c2c1090309215004e8490014d7a8">evhttp_connection_set_read_timeout_tv</a> (struct evhttp_connection *evcon, const struct timeval *tv)</td></tr>
<tr class="memdesc:a8ce5c2c1090309215004e8490014d7a8"><td class="mdescLeft"> </td><td class="mdescRight">Sets the read timeout for this connection. <a href="http_8h.html#a8ce5c2c1090309215004e8490014d7a8">More...</a><br /></td></tr>
<tr class="separator:a8ce5c2c1090309215004e8490014d7a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d1ec8afb0b84b591e40daa8d25594b9"><td class="memItemLeft" align="right" valign="top"><a id="a2d1ec8afb0b84b591e40daa8d25594b9"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a2d1ec8afb0b84b591e40daa8d25594b9">evhttp_connection_set_retries</a> (struct evhttp_connection *evcon, int retry_max)</td></tr>
<tr class="memdesc:a2d1ec8afb0b84b591e40daa8d25594b9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the retry limit for this connection - -1 repeats indefinitely. <br /></td></tr>
<tr class="separator:a2d1ec8afb0b84b591e40daa8d25594b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af74808e97c298ae690b29d45e8cf2f7b"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#af74808e97c298ae690b29d45e8cf2f7b">evhttp_connection_set_timeout</a> (struct evhttp_connection *evcon, int timeout)</td></tr>
<tr class="memdesc:af74808e97c298ae690b29d45e8cf2f7b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the timeout for this connection. <a href="http_8h.html#af74808e97c298ae690b29d45e8cf2f7b">More...</a><br /></td></tr>
<tr class="separator:af74808e97c298ae690b29d45e8cf2f7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8d3d92102ff797ea2375db5235ebe49"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ab8d3d92102ff797ea2375db5235ebe49">evhttp_connection_set_timeout_tv</a> (struct evhttp_connection *evcon, const struct timeval *tv)</td></tr>
<tr class="memdesc:ab8d3d92102ff797ea2375db5235ebe49"><td class="mdescLeft"> </td><td class="mdescRight">Sets the timeout for this connection for the following events: <a href="http_8h.html#ab8d3d92102ff797ea2375db5235ebe49">More...</a><br /></td></tr>
<tr class="separator:ab8d3d92102ff797ea2375db5235ebe49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29110fb60e660f33f2d20a964dcb2d37"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a29110fb60e660f33f2d20a964dcb2d37">evhttp_connection_set_write_timeout_tv</a> (struct evhttp_connection *evcon, const struct timeval *tv)</td></tr>
<tr class="memdesc:a29110fb60e660f33f2d20a964dcb2d37"><td class="mdescLeft"> </td><td class="mdescRight">Sets the write timeout for this connection. <a href="http_8h.html#a29110fb60e660f33f2d20a964dcb2d37">More...</a><br /></td></tr>
<tr class="separator:a29110fb60e660f33f2d20a964dcb2d37"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ac6bc2748f226d50367245989e7acd1"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a6ac6bc2748f226d50367245989e7acd1">evhttp_decode_uri</a> (const char *uri)</td></tr>
<tr class="memdesc:a6ac6bc2748f226d50367245989e7acd1"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to sort of decode a URI-encoded string. <a href="http_8h.html#a6ac6bc2748f226d50367245989e7acd1">More...</a><br /></td></tr>
<tr class="separator:a6ac6bc2748f226d50367245989e7acd1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a565c02c3469c28c1c043cb4a1e3b242c"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a565c02c3469c28c1c043cb4a1e3b242c">evhttp_del_accept_socket</a> (struct evhttp *http, struct evhttp_bound_socket *bound_socket)</td></tr>
<tr class="memdesc:a565c02c3469c28c1c043cb4a1e3b242c"><td class="mdescLeft"> </td><td class="mdescRight">Makes an HTTP server stop accepting connections on the specified socket. <a href="http_8h.html#a565c02c3469c28c1c043cb4a1e3b242c">More...</a><br /></td></tr>
<tr class="separator:a565c02c3469c28c1c043cb4a1e3b242c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7afbe5f5ce3dd8aa00496c859847947"><td class="memItemLeft" align="right" valign="top"><a id="ad7afbe5f5ce3dd8aa00496c859847947"></a>
EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad7afbe5f5ce3dd8aa00496c859847947">evhttp_del_cb</a> (struct evhttp *, const char *)</td></tr>
<tr class="memdesc:ad7afbe5f5ce3dd8aa00496c859847947"><td class="mdescLeft"> </td><td class="mdescRight">Removes the callback for a specified URI. <br /></td></tr>
<tr class="separator:ad7afbe5f5ce3dd8aa00496c859847947"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8742ce04eb4951e7af8cb200bc9669ef"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8742ce04eb4951e7af8cb200bc9669ef">evhttp_encode_uri</a> (const char *str)</td></tr>
<tr class="memdesc:a8742ce04eb4951e7af8cb200bc9669ef"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to encode a string for inclusion in a URI. <a href="http_8h.html#a8742ce04eb4951e7af8cb200bc9669ef">More...</a><br /></td></tr>
<tr class="separator:a8742ce04eb4951e7af8cb200bc9669ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54b0a309df8639541cfb552ab152e9bd"><td class="memItemLeft" align="right" valign="top">const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a54b0a309df8639541cfb552ab152e9bd">evhttp_find_header</a> (const struct evkeyvalq *headers, const char *key)</td></tr>
<tr class="memdesc:a54b0a309df8639541cfb552ab152e9bd"><td class="mdescLeft"> </td><td class="mdescRight">Finds the value belonging to a header. <a href="http_8h.html#a54b0a309df8639541cfb552ab152e9bd">More...</a><br /></td></tr>
<tr class="separator:a54b0a309df8639541cfb552ab152e9bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad15b347cd339ce5b03c806c0f7adaecf"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad15b347cd339ce5b03c806c0f7adaecf">evhttp_foreach_bound_socket</a> (struct evhttp *http, evhttp_bound_socket_foreach_fn *function, void *argument)</td></tr>
<tr class="memdesc:ad15b347cd339ce5b03c806c0f7adaecf"><td class="mdescLeft"> </td><td class="mdescRight">Applies the function specified in the first argument to all evhttp_bound_sockets associated with "http". <a href="http_8h.html#ad15b347cd339ce5b03c806c0f7adaecf">More...</a><br /></td></tr>
<tr class="separator:ad15b347cd339ce5b03c806c0f7adaecf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12b2e61a0088e3707198876ae1e61f3f"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a12b2e61a0088e3707198876ae1e61f3f">evhttp_free</a> (struct evhttp *http)</td></tr>
<tr class="memdesc:a12b2e61a0088e3707198876ae1e61f3f"><td class="mdescLeft"> </td><td class="mdescRight">Free the previously created HTTP server. <a href="http_8h.html#a12b2e61a0088e3707198876ae1e61f3f">More...</a><br /></td></tr>
<tr class="separator:a12b2e61a0088e3707198876ae1e61f3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acdc4276e80df2a99d64944598fc946ee"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#acdc4276e80df2a99d64944598fc946ee">evhttp_get_connection_count</a> (struct evhttp *http)</td></tr>
<tr class="memdesc:acdc4276e80df2a99d64944598fc946ee"><td class="mdescLeft"> </td><td class="mdescRight">Get the current number of connections. <a href="http_8h.html#acdc4276e80df2a99d64944598fc946ee">More...</a><br /></td></tr>
<tr class="separator:acdc4276e80df2a99d64944598fc946ee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a28fb801171a5f4a71057629e15c70fb5"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a28fb801171a5f4a71057629e15c70fb5">evhttp_htmlescape</a> (const char *html)</td></tr>
<tr class="memdesc:a28fb801171a5f4a71057629e15c70fb5"><td class="mdescLeft"> </td><td class="mdescRight">Escape HTML character entities in a string. <a href="http_8h.html#a28fb801171a5f4a71057629e15c70fb5">More...</a><br /></td></tr>
<tr class="separator:a28fb801171a5f4a71057629e15c70fb5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88c4f63045dc6567f8220d6d37426924"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a88c4f63045dc6567f8220d6d37426924">evhttp_make_request</a> (struct evhttp_connection *evcon, struct evhttp_request *req, enum <a class="el" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a> type, const char *uri)</td></tr>
<tr class="memdesc:a88c4f63045dc6567f8220d6d37426924"><td class="mdescLeft"> </td><td class="mdescRight">Make an HTTP request over the specified connection. <a href="http_8h.html#a88c4f63045dc6567f8220d6d37426924">More...</a><br /></td></tr>
<tr class="separator:a88c4f63045dc6567f8220d6d37426924"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5baa37a340f5be4b2c6062327e0a84e1"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5baa37a340f5be4b2c6062327e0a84e1">evhttp_new</a> (struct <a class="el" href="structevent__base.html">event_base</a> *base)</td></tr>
<tr class="memdesc:a5baa37a340f5be4b2c6062327e0a84e1"><td class="mdescLeft"> </td><td class="mdescRight">Create a new HTTP server. <a href="http_8h.html#a5baa37a340f5be4b2c6062327e0a84e1">More...</a><br /></td></tr>
<tr class="separator:a5baa37a340f5be4b2c6062327e0a84e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9b32eed2eb6693eef5694052f2223a8"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad9b32eed2eb6693eef5694052f2223a8">evhttp_parse_query</a> (const char *uri, struct evkeyvalq *headers)</td></tr>
<tr class="memdesc:ad9b32eed2eb6693eef5694052f2223a8"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to parse out arguments in a query. <a href="http_8h.html#ad9b32eed2eb6693eef5694052f2223a8">More...</a><br /></td></tr>
<tr class="separator:ad9b32eed2eb6693eef5694052f2223a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a61f2b2ae4b7b733871f64e89360d75"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a9a61f2b2ae4b7b733871f64e89360d75">evhttp_parse_query_str</a> (const char *uri, struct evkeyvalq *headers)</td></tr>
<tr class="separator:a9a61f2b2ae4b7b733871f64e89360d75"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a9d2efb83e6599e7e6aa2130018fedc"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a1a9d2efb83e6599e7e6aa2130018fedc">evhttp_parse_query_str_flags</a> (const char *uri, struct evkeyvalq *headers, unsigned flags)</td></tr>
<tr class="memdesc:a1a9d2efb83e6599e7e6aa2130018fedc"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to parse out arguments from the query portion of an HTTP URI. <a href="http_8h.html#a1a9d2efb83e6599e7e6aa2130018fedc">More...</a><br /></td></tr>
<tr class="separator:a1a9d2efb83e6599e7e6aa2130018fedc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acbdce3871fffa5c0c97c0680eb1ea668"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#acbdce3871fffa5c0c97c0680eb1ea668">evhttp_remove_header</a> (struct evkeyvalq *headers, const char *key)</td></tr>
<tr class="memdesc:acbdce3871fffa5c0c97c0680eb1ea668"><td class="mdescLeft"> </td><td class="mdescRight">Removes a header from a list of existing headers. <a href="http_8h.html#acbdce3871fffa5c0c97c0680eb1ea668">More...</a><br /></td></tr>
<tr class="separator:acbdce3871fffa5c0c97c0680eb1ea668"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b2b581793f361f68fd21cff110aa262"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a6b2b581793f361f68fd21cff110aa262">evhttp_remove_server_alias</a> (struct evhttp *http, const char *alias)</td></tr>
<tr class="memdesc:a6b2b581793f361f68fd21cff110aa262"><td class="mdescLeft"> </td><td class="mdescRight">Remove a server alias from an http object. <a href="http_8h.html#a6b2b581793f361f68fd21cff110aa262">More...</a><br /></td></tr>
<tr class="separator:a6b2b581793f361f68fd21cff110aa262"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a68ec9dd6e33b7505a1ccde9e3d55b18a"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a68ec9dd6e33b7505a1ccde9e3d55b18a">evhttp_remove_virtual_host</a> (struct evhttp *http, struct evhttp *vhost)</td></tr>
<tr class="memdesc:a68ec9dd6e33b7505a1ccde9e3d55b18a"><td class="mdescLeft"> </td><td class="mdescRight">Removes a virtual host from the http server. <a href="http_8h.html#a68ec9dd6e33b7505a1ccde9e3d55b18a">More...</a><br /></td></tr>
<tr class="separator:a68ec9dd6e33b7505a1ccde9e3d55b18a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a740defd3a36e3d609a362cee96508402"><td class="memItemLeft" align="right" valign="top"><a id="a740defd3a36e3d609a362cee96508402"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a740defd3a36e3d609a362cee96508402">evhttp_request_free</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a740defd3a36e3d609a362cee96508402"><td class="mdescLeft"> </td><td class="mdescRight">Frees the request object and removes associated events. <br /></td></tr>
<tr class="separator:a740defd3a36e3d609a362cee96508402"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaef4dc4d2dfd468b5f3497853d6c0486"><td class="memItemLeft" align="right" valign="top"><a id="aaef4dc4d2dfd468b5f3497853d6c0486"></a>
EVENT2_EXPORT_SYMBOL enum <a class="el" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aaef4dc4d2dfd468b5f3497853d6c0486">evhttp_request_get_command</a> (const struct evhttp_request *req)</td></tr>
<tr class="memdesc:aaef4dc4d2dfd468b5f3497853d6c0486"><td class="mdescLeft"> </td><td class="mdescRight">Returns the request command. <br /></td></tr>
<tr class="separator:aaef4dc4d2dfd468b5f3497853d6c0486"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d816772ec078f8cf0367b4be63095b3"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_connection * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a2d816772ec078f8cf0367b4be63095b3">evhttp_request_get_connection</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a2d816772ec078f8cf0367b4be63095b3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the connection object associated with the request or NULL. <a href="http_8h.html#a2d816772ec078f8cf0367b4be63095b3">More...</a><br /></td></tr>
<tr class="separator:a2d816772ec078f8cf0367b4be63095b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af528a5c6a3a6212cefadf21f751a9718"><td class="memItemLeft" align="right" valign="top"><a id="af528a5c6a3a6212cefadf21f751a9718"></a>
EVENT2_EXPORT_SYMBOL const struct evhttp_uri * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#af528a5c6a3a6212cefadf21f751a9718">evhttp_request_get_evhttp_uri</a> (const struct evhttp_request *req)</td></tr>
<tr class="memdesc:af528a5c6a3a6212cefadf21f751a9718"><td class="mdescLeft"> </td><td class="mdescRight">Returns the request URI (parsed) <br /></td></tr>
<tr class="separator:af528a5c6a3a6212cefadf21f751a9718"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afded43caaf7dc2d0532f50b4a463f7d1"><td class="memItemLeft" align="right" valign="top">const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#afded43caaf7dc2d0532f50b4a463f7d1">evhttp_request_get_host</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:afded43caaf7dc2d0532f50b4a463f7d1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the host associated with the request. <a href="http_8h.html#afded43caaf7dc2d0532f50b4a463f7d1">More...</a><br /></td></tr>
<tr class="separator:afded43caaf7dc2d0532f50b4a463f7d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a7df0b7b7a10bda540ba24cd1021c80"><td class="memItemLeft" align="right" valign="top"><a id="a5a7df0b7b7a10bda540ba24cd1021c80"></a>
EVENT2_EXPORT_SYMBOL struct <a class="el" href="structevbuffer.html">evbuffer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5a7df0b7b7a10bda540ba24cd1021c80">evhttp_request_get_input_buffer</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a5a7df0b7b7a10bda540ba24cd1021c80"><td class="mdescLeft"> </td><td class="mdescRight">Returns the input buffer. <br /></td></tr>
<tr class="separator:a5a7df0b7b7a10bda540ba24cd1021c80"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ab43473b2830c8d0f3b8ec14c6f9fdf"><td class="memItemLeft" align="right" valign="top"><a id="a3ab43473b2830c8d0f3b8ec14c6f9fdf"></a>
EVENT2_EXPORT_SYMBOL struct evkeyvalq * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3ab43473b2830c8d0f3b8ec14c6f9fdf">evhttp_request_get_input_headers</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a3ab43473b2830c8d0f3b8ec14c6f9fdf"><td class="mdescLeft"> </td><td class="mdescRight">Returns the input headers. <br /></td></tr>
<tr class="separator:a3ab43473b2830c8d0f3b8ec14c6f9fdf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4c4774bbd23cd887ceda30c3e7ea094"><td class="memItemLeft" align="right" valign="top"><a id="ae4c4774bbd23cd887ceda30c3e7ea094"></a>
EVENT2_EXPORT_SYMBOL struct <a class="el" href="structevbuffer.html">evbuffer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae4c4774bbd23cd887ceda30c3e7ea094">evhttp_request_get_output_buffer</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:ae4c4774bbd23cd887ceda30c3e7ea094"><td class="mdescLeft"> </td><td class="mdescRight">Returns the output buffer. <br /></td></tr>
<tr class="separator:ae4c4774bbd23cd887ceda30c3e7ea094"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad12a28805401f4f498964987385ed1e3"><td class="memItemLeft" align="right" valign="top"><a id="ad12a28805401f4f498964987385ed1e3"></a>
EVENT2_EXPORT_SYMBOL struct evkeyvalq * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad12a28805401f4f498964987385ed1e3">evhttp_request_get_output_headers</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:ad12a28805401f4f498964987385ed1e3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the output headers. <br /></td></tr>
<tr class="separator:ad12a28805401f4f498964987385ed1e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad777d5f8140832cf1181c00eb09cbd43"><td class="memItemLeft" align="right" valign="top"><a id="ad777d5f8140832cf1181c00eb09cbd43"></a>
EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><b>evhttp_request_get_response_code</b> (const struct evhttp_request *req)</td></tr>
<tr class="separator:ad777d5f8140832cf1181c00eb09cbd43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8c09549a6529a3b3b92849b505fbef1"><td class="memItemLeft" align="right" valign="top"><a id="ad8c09549a6529a3b3b92849b505fbef1"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><b>evhttp_request_get_response_code_line</b> (const struct evhttp_request *req)</td></tr>
<tr class="separator:ad8c09549a6529a3b3b92849b505fbef1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa02d664574b2aefbb671f8534e5c476a"><td class="memItemLeft" align="right" valign="top"><a id="aa02d664574b2aefbb671f8534e5c476a"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aa02d664574b2aefbb671f8534e5c476a">evhttp_request_get_uri</a> (const struct evhttp_request *req)</td></tr>
<tr class="memdesc:aa02d664574b2aefbb671f8534e5c476a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the request URI. <br /></td></tr>
<tr class="separator:aa02d664574b2aefbb671f8534e5c476a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a980ad5b5a00bef46201b1683ef0e2ee1"><td class="memItemLeft" align="right" valign="top"><a id="a980ad5b5a00bef46201b1683ef0e2ee1"></a>
EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a980ad5b5a00bef46201b1683ef0e2ee1">evhttp_request_is_owned</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a980ad5b5a00bef46201b1683ef0e2ee1"><td class="mdescLeft"> </td><td class="mdescRight">Returns 1 if the request is owned by the user. <br /></td></tr>
<tr class="separator:a980ad5b5a00bef46201b1683ef0e2ee1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66ffd177b52ffc59163c708d9b2f7275"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_request * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a66ffd177b52ffc59163c708d9b2f7275">evhttp_request_new</a> (void(*cb)(struct evhttp_request *, void *), void *arg)</td></tr>
<tr class="memdesc:a66ffd177b52ffc59163c708d9b2f7275"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new request object that needs to be filled in with the request parameters. <a href="http_8h.html#a66ffd177b52ffc59163c708d9b2f7275">More...</a><br /></td></tr>
<tr class="separator:a66ffd177b52ffc59163c708d9b2f7275"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa1bd475e8be9f389586a6be9fbb242d4"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aa1bd475e8be9f389586a6be9fbb242d4">evhttp_request_own</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:aa1bd475e8be9f389586a6be9fbb242d4"><td class="mdescLeft"> </td><td class="mdescRight">Takes ownership of the request object. <a href="http_8h.html#aa1bd475e8be9f389586a6be9fbb242d4">More...</a><br /></td></tr>
<tr class="separator:aa1bd475e8be9f389586a6be9fbb242d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ace8a70a82c88bfc3856a1b2ae1c9a40b"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ace8a70a82c88bfc3856a1b2ae1c9a40b">evhttp_request_set_chunked_cb</a> (struct evhttp_request *, void(*cb)(struct evhttp_request *, void *))</td></tr>
<tr class="memdesc:ace8a70a82c88bfc3856a1b2ae1c9a40b"><td class="mdescLeft"> </td><td class="mdescRight">Enable delivery of chunks to requestor. <a href="http_8h.html#ace8a70a82c88bfc3856a1b2ae1c9a40b">More...</a><br /></td></tr>
<tr class="separator:ace8a70a82c88bfc3856a1b2ae1c9a40b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a90bf87f4fdaea3ccf414bf8572b0228a"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a90bf87f4fdaea3ccf414bf8572b0228a">evhttp_request_set_error_cb</a> (struct evhttp_request *, void(*)(enum <a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">evhttp_request_error</a>, void *))</td></tr>
<tr class="memdesc:a90bf87f4fdaea3ccf414bf8572b0228a"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback for errors. <a href="http_8h.html#a90bf87f4fdaea3ccf414bf8572b0228a">More...</a><br /></td></tr>
<tr class="separator:a90bf87f4fdaea3ccf414bf8572b0228a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d812da94907b41165dfa2efc09bd329"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3d812da94907b41165dfa2efc09bd329">evhttp_request_set_header_cb</a> (struct evhttp_request *, int(*cb)(struct evhttp_request *, void *))</td></tr>
<tr class="memdesc:a3d812da94907b41165dfa2efc09bd329"><td class="mdescLeft"> </td><td class="mdescRight">Register callback for additional parsing of request headers. <a href="http_8h.html#a3d812da94907b41165dfa2efc09bd329">More...</a><br /></td></tr>
<tr class="separator:a3d812da94907b41165dfa2efc09bd329"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83469b1ba147fc46a98d4f94cbd99a45"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a83469b1ba147fc46a98d4f94cbd99a45">evhttp_request_set_on_complete_cb</a> (struct evhttp_request *req, void(*cb)(struct evhttp_request *, void *), void *cb_arg)</td></tr>
<tr class="memdesc:a83469b1ba147fc46a98d4f94cbd99a45"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback to be called on request completion of evhttp_send_* function. <a href="http_8h.html#a83469b1ba147fc46a98d4f94cbd99a45">More...</a><br /></td></tr>
<tr class="separator:a83469b1ba147fc46a98d4f94cbd99a45"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47d90ffdd80edc13ab4197e2c21a1403"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a47d90ffdd80edc13ab4197e2c21a1403">evhttp_send_error</a> (struct evhttp_request *req, int error, const char *reason)</td></tr>
<tr class="memdesc:a47d90ffdd80edc13ab4197e2c21a1403"><td class="mdescLeft"> </td><td class="mdescRight">Send an HTML error message to the client. <a href="http_8h.html#a47d90ffdd80edc13ab4197e2c21a1403">More...</a><br /></td></tr>
<tr class="separator:a47d90ffdd80edc13ab4197e2c21a1403"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a77d07263e20733a7562dcd576ad721"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a0a77d07263e20733a7562dcd576ad721">evhttp_send_reply</a> (struct evhttp_request *req, int code, const char *reason, struct <a class="el" href="structevbuffer.html">evbuffer</a> *databuf)</td></tr>
<tr class="memdesc:a0a77d07263e20733a7562dcd576ad721"><td class="mdescLeft"> </td><td class="mdescRight">Send an HTML reply to the client. <a href="http_8h.html#a0a77d07263e20733a7562dcd576ad721">More...</a><br /></td></tr>
<tr class="separator:a0a77d07263e20733a7562dcd576ad721"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a380c78fba2c4d5efe22191673c4ed1a7"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a380c78fba2c4d5efe22191673c4ed1a7">evhttp_send_reply_chunk</a> (struct evhttp_request *req, struct <a class="el" href="structevbuffer.html">evbuffer</a> *databuf)</td></tr>
<tr class="memdesc:a380c78fba2c4d5efe22191673c4ed1a7"><td class="mdescLeft"> </td><td class="mdescRight">Send another data chunk as part of an ongoing chunked reply. <a href="http_8h.html#a380c78fba2c4d5efe22191673c4ed1a7">More...</a><br /></td></tr>
<tr class="separator:a380c78fba2c4d5efe22191673c4ed1a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a694a80962c9dd37014b4bd61f6a04275"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a694a80962c9dd37014b4bd61f6a04275">evhttp_send_reply_chunk_with_cb</a> (struct evhttp_request *req, struct <a class="el" href="structevbuffer.html">evbuffer</a> *databuf, void(*cb)(struct evhttp_connection *, void *), void *arg)</td></tr>
<tr class="memdesc:a694a80962c9dd37014b4bd61f6a04275"><td class="mdescLeft"> </td><td class="mdescRight">Send another data chunk as part of an ongoing chunked reply. <a href="http_8h.html#a694a80962c9dd37014b4bd61f6a04275">More...</a><br /></td></tr>
<tr class="separator:a694a80962c9dd37014b4bd61f6a04275"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a014b3c0c4f85a2c7bc7f4092aaf19884"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a014b3c0c4f85a2c7bc7f4092aaf19884">evhttp_send_reply_end</a> (struct evhttp_request *req)</td></tr>
<tr class="memdesc:a014b3c0c4f85a2c7bc7f4092aaf19884"><td class="mdescLeft"> </td><td class="mdescRight">Complete a chunked reply, freeing the request as appropriate. <a href="http_8h.html#a014b3c0c4f85a2c7bc7f4092aaf19884">More...</a><br /></td></tr>
<tr class="separator:a014b3c0c4f85a2c7bc7f4092aaf19884"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a730f35086068b559b2bd324d07591283"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a730f35086068b559b2bd324d07591283">evhttp_send_reply_start</a> (struct evhttp_request *req, int code, const char *reason)</td></tr>
<tr class="memdesc:a730f35086068b559b2bd324d07591283"><td class="mdescLeft"> </td><td class="mdescRight">Initiate a reply that uses Transfer-Encoding chunked. <a href="http_8h.html#a730f35086068b559b2bd324d07591283">More...</a><br /></td></tr>
<tr class="separator:a730f35086068b559b2bd324d07591283"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5682dc2fe3f18dcbffd9a55bcebac9a0"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5682dc2fe3f18dcbffd9a55bcebac9a0">evhttp_set_allowed_methods</a> (struct evhttp *http, ev_uint32_t methods)</td></tr>
<tr class="memdesc:a5682dc2fe3f18dcbffd9a55bcebac9a0"><td class="mdescLeft"> </td><td class="mdescRight">Sets the what HTTP methods are supported in requests accepted by this server, and passed to user callbacks. <a href="http_8h.html#a5682dc2fe3f18dcbffd9a55bcebac9a0">More...</a><br /></td></tr>
<tr class="separator:a5682dc2fe3f18dcbffd9a55bcebac9a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4accb83b76a63db8b6fe5e765df1411"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae4accb83b76a63db8b6fe5e765df1411">evhttp_set_bevcb</a> (struct evhttp *http, struct <a class="el" href="structbufferevent.html">bufferevent</a> *(*cb)(struct <a class="el" href="structevent__base.html">event_base</a> *, void *), void *arg)</td></tr>
<tr class="memdesc:ae4accb83b76a63db8b6fe5e765df1411"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback used to create new bufferevents for connections to a given evhttp object. <a href="http_8h.html#ae4accb83b76a63db8b6fe5e765df1411">More...</a><br /></td></tr>
<tr class="separator:ae4accb83b76a63db8b6fe5e765df1411"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af1b22fdf5ea2c6335ccbc96fb930774e"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#af1b22fdf5ea2c6335ccbc96fb930774e">evhttp_set_cb</a> (struct evhttp *http, const char *path, void(*cb)(struct evhttp_request *, void *), void *cb_arg)</td></tr>
<tr class="memdesc:af1b22fdf5ea2c6335ccbc96fb930774e"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback for a specified URI. <a href="http_8h.html#af1b22fdf5ea2c6335ccbc96fb930774e">More...</a><br /></td></tr>
<tr class="separator:af1b22fdf5ea2c6335ccbc96fb930774e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53cbc32c73ae066cf6140698a2fca532"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a53cbc32c73ae066cf6140698a2fca532">evhttp_set_default_content_type</a> (struct evhttp *http, const char *content_type)</td></tr>
<tr class="memdesc:a53cbc32c73ae066cf6140698a2fca532"><td class="mdescLeft"> </td><td class="mdescRight">Set the value to use for the Content-Type header when none was provided. <a href="http_8h.html#a53cbc32c73ae066cf6140698a2fca532">More...</a><br /></td></tr>
<tr class="separator:a53cbc32c73ae066cf6140698a2fca532"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ff8d8b085885abf2037f0b4d0cc8c39"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a7ff8d8b085885abf2037f0b4d0cc8c39">evhttp_set_errorcb</a> (struct evhttp *http, int(*cb)(struct evhttp_request *req, struct <a class="el" href="structevbuffer.html">evbuffer</a> *buffer, int error, const char *reason, void *cbarg), void *cbarg)</td></tr>
<tr class="memdesc:a7ff8d8b085885abf2037f0b4d0cc8c39"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback to output for any error pages sent for requests of a given evhttp object. <a href="http_8h.html#a7ff8d8b085885abf2037f0b4d0cc8c39">More...</a><br /></td></tr>
<tr class="separator:a7ff8d8b085885abf2037f0b4d0cc8c39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a171f175f66ceb0bd7ca93b32229a54c5"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a171f175f66ceb0bd7ca93b32229a54c5">evhttp_set_ext_method_cmp</a> (struct evhttp *http, evhttp_ext_method_cb cmp)</td></tr>
<tr class="memdesc:a171f175f66ceb0bd7ca93b32229a54c5"><td class="mdescLeft"> </td><td class="mdescRight">Sets the callback function which allows HTTP extended methods to be supported by this server. <a href="http_8h.html#a171f175f66ceb0bd7ca93b32229a54c5">More...</a><br /></td></tr>
<tr class="separator:a171f175f66ceb0bd7ca93b32229a54c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab531e7d4962724efa3401d11edea1150"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ab531e7d4962724efa3401d11edea1150">evhttp_set_flags</a> (struct evhttp *http, int flags)</td></tr>
<tr class="memdesc:ab531e7d4962724efa3401d11edea1150"><td class="mdescLeft"> </td><td class="mdescRight">Set connection flags for HTTP server. <a href="http_8h.html#ab531e7d4962724efa3401d11edea1150">More...</a><br /></td></tr>
<tr class="separator:ab531e7d4962724efa3401d11edea1150"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a52e68315974c684709c373fe7c46bec8"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a52e68315974c684709c373fe7c46bec8">evhttp_set_gencb</a> (struct evhttp *http, void(*cb)(struct evhttp_request *, void *), void *arg)</td></tr>
<tr class="memdesc:a52e68315974c684709c373fe7c46bec8"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback for all requests that are not caught by specific callbacks. <a href="http_8h.html#a52e68315974c684709c373fe7c46bec8">More...</a><br /></td></tr>
<tr class="separator:a52e68315974c684709c373fe7c46bec8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ba3aa63bccc4f2ec3c18d4eb26be851"><td class="memItemLeft" align="right" valign="top"><a id="a4ba3aa63bccc4f2ec3c18d4eb26be851"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a4ba3aa63bccc4f2ec3c18d4eb26be851">evhttp_set_max_body_size</a> (struct evhttp *http, ev_ssize_t max_body_size)</td></tr>
<tr class="memdesc:a4ba3aa63bccc4f2ec3c18d4eb26be851"><td class="mdescLeft"> </td><td class="mdescRight">XXX Document. <br /></td></tr>
<tr class="separator:a4ba3aa63bccc4f2ec3c18d4eb26be851"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ee088f799a4f8ade368f0e18817d432"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a9ee088f799a4f8ade368f0e18817d432">evhttp_set_max_connections</a> (struct evhttp *http, int max_connections)</td></tr>
<tr class="memdesc:a9ee088f799a4f8ade368f0e18817d432"><td class="mdescLeft"> </td><td class="mdescRight">Set the maximum number of simultaneous connections for this server. <a href="http_8h.html#a9ee088f799a4f8ade368f0e18817d432">More...</a><br /></td></tr>
<tr class="separator:a9ee088f799a4f8ade368f0e18817d432"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d118ec9cf879e60df5e800a53fa7be5"><td class="memItemLeft" align="right" valign="top"><a id="a1d118ec9cf879e60df5e800a53fa7be5"></a>
EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a1d118ec9cf879e60df5e800a53fa7be5">evhttp_set_max_headers_size</a> (struct evhttp *http, ev_ssize_t max_headers_size)</td></tr>
<tr class="memdesc:a1d118ec9cf879e60df5e800a53fa7be5"><td class="mdescLeft"> </td><td class="mdescRight">XXX Document. <br /></td></tr>
<tr class="separator:a1d118ec9cf879e60df5e800a53fa7be5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d57616424673f65eee38f0dc8293373"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5d57616424673f65eee38f0dc8293373">evhttp_set_newreqcb</a> (struct evhttp *http, int(*cb)(struct evhttp_request *, void *), void *arg)</td></tr>
<tr class="memdesc:a5d57616424673f65eee38f0dc8293373"><td class="mdescLeft"> </td><td class="mdescRight">Set a callback which allows the user to note or throttle incoming requests. <a href="http_8h.html#a5d57616424673f65eee38f0dc8293373">More...</a><br /></td></tr>
<tr class="separator:a5d57616424673f65eee38f0dc8293373"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4efab329925d632a9e94a3065b8d17f"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae4efab329925d632a9e94a3065b8d17f">evhttp_set_read_timeout_tv</a> (struct evhttp *http, const struct timeval *tv)</td></tr>
<tr class="memdesc:ae4efab329925d632a9e94a3065b8d17f"><td class="mdescLeft"> </td><td class="mdescRight">Set read timeout for an HTTP request. <a href="http_8h.html#ae4efab329925d632a9e94a3065b8d17f">More...</a><br /></td></tr>
<tr class="separator:ae4efab329925d632a9e94a3065b8d17f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5b4a6022933fb806d621a398ceec8eb2"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a5b4a6022933fb806d621a398ceec8eb2">evhttp_set_timeout</a> (struct evhttp *http, int timeout)</td></tr>
<tr class="memdesc:a5b4a6022933fb806d621a398ceec8eb2"><td class="mdescLeft"> </td><td class="mdescRight">Set the timeout for an HTTP request. <a href="http_8h.html#a5b4a6022933fb806d621a398ceec8eb2">More...</a><br /></td></tr>
<tr class="separator:a5b4a6022933fb806d621a398ceec8eb2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ea68d1a73ae1a09c6398e264b357407"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a3ea68d1a73ae1a09c6398e264b357407">evhttp_set_timeout_tv</a> (struct evhttp *http, const struct timeval *tv)</td></tr>
<tr class="memdesc:a3ea68d1a73ae1a09c6398e264b357407"><td class="mdescLeft"> </td><td class="mdescRight">Set read and write timeout for an HTTP request. <a href="http_8h.html#a3ea68d1a73ae1a09c6398e264b357407">More...</a><br /></td></tr>
<tr class="separator:a3ea68d1a73ae1a09c6398e264b357407"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0916087937baf9c4e99e19301ae59f8"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ae0916087937baf9c4e99e19301ae59f8">evhttp_set_write_timeout_tv</a> (struct evhttp *http, const struct timeval *tv)</td></tr>
<tr class="memdesc:ae0916087937baf9c4e99e19301ae59f8"><td class="mdescLeft"> </td><td class="mdescRight">Set write timeout for an HTTP request. <a href="http_8h.html#ae0916087937baf9c4e99e19301ae59f8">More...</a><br /></td></tr>
<tr class="separator:ae0916087937baf9c4e99e19301ae59f8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a656211357bacf7fae9d09d2d23f7f4b0"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a656211357bacf7fae9d09d2d23f7f4b0">evhttp_uri_free</a> (struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:a656211357bacf7fae9d09d2d23f7f4b0"><td class="mdescLeft"> </td><td class="mdescRight">Free all memory allocated for a parsed uri. <a href="http_8h.html#a656211357bacf7fae9d09d2d23f7f4b0">More...</a><br /></td></tr>
<tr class="separator:a656211357bacf7fae9d09d2d23f7f4b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2d03ee60bd21072b67ec7b89d476226"><td class="memItemLeft" align="right" valign="top"><a id="af2d03ee60bd21072b67ec7b89d476226"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#af2d03ee60bd21072b67ec7b89d476226">evhttp_uri_get_fragment</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:af2d03ee60bd21072b67ec7b89d476226"><td class="mdescLeft"> </td><td class="mdescRight">Return the fragment part of an evhttp_uri (excluding the leading "#"), or NULL if it has no fragment set. <br /></td></tr>
<tr class="separator:af2d03ee60bd21072b67ec7b89d476226"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa22a9dc787b32f5133e81a7f5e96d25"><td class="memItemLeft" align="right" valign="top">const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aaa22a9dc787b32f5133e81a7f5e96d25">evhttp_uri_get_host</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:aaa22a9dc787b32f5133e81a7f5e96d25"><td class="mdescLeft"> </td><td class="mdescRight">Return the host part of an evhttp_uri, or NULL if it has no host set. <a href="http_8h.html#aaa22a9dc787b32f5133e81a7f5e96d25">More...</a><br /></td></tr>
<tr class="separator:aaa22a9dc787b32f5133e81a7f5e96d25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8264b614f23012200c559e25f37f8a4c"><td class="memItemLeft" align="right" valign="top"><a id="a8264b614f23012200c559e25f37f8a4c"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8264b614f23012200c559e25f37f8a4c">evhttp_uri_get_path</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:a8264b614f23012200c559e25f37f8a4c"><td class="mdescLeft"> </td><td class="mdescRight">Return the path part of an evhttp_uri, or NULL if it has no path set. <br /></td></tr>
<tr class="separator:a8264b614f23012200c559e25f37f8a4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ee1f098fa176ae0b33729308a35136d"><td class="memItemLeft" align="right" valign="top"><a id="a1ee1f098fa176ae0b33729308a35136d"></a>
EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a1ee1f098fa176ae0b33729308a35136d">evhttp_uri_get_port</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:a1ee1f098fa176ae0b33729308a35136d"><td class="mdescLeft"> </td><td class="mdescRight">Return the port part of an evhttp_uri, or -1 if there is no port set. <br /></td></tr>
<tr class="separator:a1ee1f098fa176ae0b33729308a35136d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02a52f21c3c169729110efb289835b55"><td class="memItemLeft" align="right" valign="top"><a id="a02a52f21c3c169729110efb289835b55"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a02a52f21c3c169729110efb289835b55">evhttp_uri_get_query</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:a02a52f21c3c169729110efb289835b55"><td class="mdescLeft"> </td><td class="mdescRight">Return the query part of an evhttp_uri (excluding the leading "?"), or NULL if it has no query set. <br /></td></tr>
<tr class="separator:a02a52f21c3c169729110efb289835b55"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b19501e4d1ae89df696304e9b18fbe0"><td class="memItemLeft" align="right" valign="top"><a id="a2b19501e4d1ae89df696304e9b18fbe0"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a2b19501e4d1ae89df696304e9b18fbe0">evhttp_uri_get_scheme</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:a2b19501e4d1ae89df696304e9b18fbe0"><td class="mdescLeft"> </td><td class="mdescRight">Return the scheme of an evhttp_uri, or NULL if there is no scheme has been set and the evhttp_uri contains a Relative-Ref. <br /></td></tr>
<tr class="separator:a2b19501e4d1ae89df696304e9b18fbe0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a56fd87a6f536bb28a66dbbfda1eaf328"><td class="memItemLeft" align="right" valign="top"><a id="a56fd87a6f536bb28a66dbbfda1eaf328"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a56fd87a6f536bb28a66dbbfda1eaf328">evhttp_uri_get_unixsocket</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:a56fd87a6f536bb28a66dbbfda1eaf328"><td class="mdescLeft"> </td><td class="mdescRight">Return the unix socket part of an evhttp_uri, or NULL if there is no unix socket set. <br /></td></tr>
<tr class="separator:a56fd87a6f536bb28a66dbbfda1eaf328"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab0d0c0b1a761ab88a9c105330170f10"><td class="memItemLeft" align="right" valign="top"><a id="aab0d0c0b1a761ab88a9c105330170f10"></a>
const EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aab0d0c0b1a761ab88a9c105330170f10">evhttp_uri_get_userinfo</a> (const struct evhttp_uri *uri)</td></tr>
<tr class="memdesc:aab0d0c0b1a761ab88a9c105330170f10"><td class="mdescLeft"> </td><td class="mdescRight">Return the userinfo part of an evhttp_uri, or NULL if it has no userinfo set. <br /></td></tr>
<tr class="separator:aab0d0c0b1a761ab88a9c105330170f10"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8eb220c9f81c70ccd3f69fb692cffbda"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a8eb220c9f81c70ccd3f69fb692cffbda">evhttp_uri_join</a> (const struct evhttp_uri *uri, char *buf, size_t limit)</td></tr>
<tr class="memdesc:a8eb220c9f81c70ccd3f69fb692cffbda"><td class="mdescLeft"> </td><td class="mdescRight">Join together the uri parts from parsed data to form a URI-Reference. <a href="http_8h.html#a8eb220c9f81c70ccd3f69fb692cffbda">More...</a><br /></td></tr>
<tr class="separator:a8eb220c9f81c70ccd3f69fb692cffbda"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4447fa5bf7323b98a74fc660bcd892d8"><td class="memItemLeft" align="right" valign="top"><a id="a4447fa5bf7323b98a74fc660bcd892d8"></a>
EVENT2_EXPORT_SYMBOL struct evhttp_uri * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a4447fa5bf7323b98a74fc660bcd892d8">evhttp_uri_new</a> (void)</td></tr>
<tr class="memdesc:a4447fa5bf7323b98a74fc660bcd892d8"><td class="mdescLeft"> </td><td class="mdescRight">Return a new empty evhttp_uri with no fields set. <br /></td></tr>
<tr class="separator:a4447fa5bf7323b98a74fc660bcd892d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abdae107e1eba62a9a015892fb761f074"><td class="memItemLeft" align="right" valign="top"><a id="abdae107e1eba62a9a015892fb761f074"></a>
EVENT2_EXPORT_SYMBOL struct evhttp_uri * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#abdae107e1eba62a9a015892fb761f074">evhttp_uri_parse</a> (const char *source_uri)</td></tr>
<tr class="memdesc:abdae107e1eba62a9a015892fb761f074"><td class="mdescLeft"> </td><td class="mdescRight">Alias for evhttp_uri_parse_with_flags(source_uri, 0) <br /></td></tr>
<tr class="separator:abdae107e1eba62a9a015892fb761f074"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6cc995d43fb39f838d2ff866057673c"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL struct evhttp_uri * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac6cc995d43fb39f838d2ff866057673c">evhttp_uri_parse_with_flags</a> (const char *source_uri, unsigned flags)</td></tr>
<tr class="memdesc:ac6cc995d43fb39f838d2ff866057673c"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to parse a URI-Reference as specified by RFC3986. <a href="http_8h.html#ac6cc995d43fb39f838d2ff866057673c">More...</a><br /></td></tr>
<tr class="separator:ac6cc995d43fb39f838d2ff866057673c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa18f3bc6e899f80ba047a683d245245b"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL void </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aa18f3bc6e899f80ba047a683d245245b">evhttp_uri_set_flags</a> (struct evhttp_uri *uri, unsigned flags)</td></tr>
<tr class="memdesc:aa18f3bc6e899f80ba047a683d245245b"><td class="mdescLeft"> </td><td class="mdescRight">Changes the flags set on a given URI. <a href="http_8h.html#aa18f3bc6e899f80ba047a683d245245b">More...</a><br /></td></tr>
<tr class="separator:aa18f3bc6e899f80ba047a683d245245b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ffbf72e6974650339f89b23a8d8fc30"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a6ffbf72e6974650339f89b23a8d8fc30">evhttp_uri_set_fragment</a> (struct evhttp_uri *uri, const char *fragment)</td></tr>
<tr class="memdesc:a6ffbf72e6974650339f89b23a8d8fc30"><td class="mdescLeft"> </td><td class="mdescRight">Set the fragment of an evhttp_uri, or clear the fragment if fragment==NULL. <a href="http_8h.html#a6ffbf72e6974650339f89b23a8d8fc30">More...</a><br /></td></tr>
<tr class="separator:a6ffbf72e6974650339f89b23a8d8fc30"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a71b70977e40970863c611dc9f8c66f0f"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a71b70977e40970863c611dc9f8c66f0f">evhttp_uri_set_host</a> (struct evhttp_uri *uri, const char *host)</td></tr>
<tr class="memdesc:a71b70977e40970863c611dc9f8c66f0f"><td class="mdescLeft"> </td><td class="mdescRight">Set the host of an evhttp_uri, or clear the host if host==NULL. <a href="http_8h.html#a71b70977e40970863c611dc9f8c66f0f">More...</a><br /></td></tr>
<tr class="separator:a71b70977e40970863c611dc9f8c66f0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55ae372c7045ed54e9193a061e440b59"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a55ae372c7045ed54e9193a061e440b59">evhttp_uri_set_path</a> (struct evhttp_uri *uri, const char *path)</td></tr>
<tr class="memdesc:a55ae372c7045ed54e9193a061e440b59"><td class="mdescLeft"> </td><td class="mdescRight">Set the path of an evhttp_uri, or clear the path if path==NULL. <a href="http_8h.html#a55ae372c7045ed54e9193a061e440b59">More...</a><br /></td></tr>
<tr class="separator:a55ae372c7045ed54e9193a061e440b59"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a44aebcf9b67a66025af7d002df0ecde1"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a44aebcf9b67a66025af7d002df0ecde1">evhttp_uri_set_port</a> (struct evhttp_uri *uri, int port)</td></tr>
<tr class="memdesc:a44aebcf9b67a66025af7d002df0ecde1"><td class="mdescLeft"> </td><td class="mdescRight">Set the port of an evhttp_uri, or clear the port if port==-1. <a href="http_8h.html#a44aebcf9b67a66025af7d002df0ecde1">More...</a><br /></td></tr>
<tr class="separator:a44aebcf9b67a66025af7d002df0ecde1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa1de728d898f2ec5deab6299d885d286"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#aa1de728d898f2ec5deab6299d885d286">evhttp_uri_set_query</a> (struct evhttp_uri *uri, const char *query)</td></tr>
<tr class="memdesc:aa1de728d898f2ec5deab6299d885d286"><td class="mdescLeft"> </td><td class="mdescRight">Set the query of an evhttp_uri, or clear the query if query==NULL. <a href="http_8h.html#aa1de728d898f2ec5deab6299d885d286">More...</a><br /></td></tr>
<tr class="separator:aa1de728d898f2ec5deab6299d885d286"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45fcdbd2ca2683418f3745cbb8745256"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a45fcdbd2ca2683418f3745cbb8745256">evhttp_uri_set_scheme</a> (struct evhttp_uri *uri, const char *scheme)</td></tr>
<tr class="memdesc:a45fcdbd2ca2683418f3745cbb8745256"><td class="mdescLeft"> </td><td class="mdescRight">Set the scheme of an evhttp_uri, or clear the scheme if scheme==NULL. <a href="http_8h.html#a45fcdbd2ca2683418f3745cbb8745256">More...</a><br /></td></tr>
<tr class="separator:a45fcdbd2ca2683418f3745cbb8745256"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7259917dbf5cac8ff0e3d00b8574cbe"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ac7259917dbf5cac8ff0e3d00b8574cbe">evhttp_uri_set_unixsocket</a> (struct evhttp_uri *uri, const char *unixsocket)</td></tr>
<tr class="memdesc:ac7259917dbf5cac8ff0e3d00b8574cbe"><td class="mdescLeft"> </td><td class="mdescRight">Set the unix socket of an evhttp_uri, or clear the unix socket if unixsocket==NULL. <a href="http_8h.html#ac7259917dbf5cac8ff0e3d00b8574cbe">More...</a><br /></td></tr>
<tr class="separator:ac7259917dbf5cac8ff0e3d00b8574cbe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12083a9ed157ed7d0d980973613e7f18"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL int </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a12083a9ed157ed7d0d980973613e7f18">evhttp_uri_set_userinfo</a> (struct evhttp_uri *uri, const char *userinfo)</td></tr>
<tr class="memdesc:a12083a9ed157ed7d0d980973613e7f18"><td class="mdescLeft"> </td><td class="mdescRight">Set the userinfo of an evhttp_uri, or clear the userinfo if userinfo==NULL. <a href="http_8h.html#a12083a9ed157ed7d0d980973613e7f18">More...</a><br /></td></tr>
<tr class="separator:a12083a9ed157ed7d0d980973613e7f18"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a837276600c9c2f0521c44879c8d371b7"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#a837276600c9c2f0521c44879c8d371b7">evhttp_uridecode</a> (const char *uri, int decode_plus, size_t *size_out)</td></tr>
<tr class="memdesc:a837276600c9c2f0521c44879c8d371b7"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to decode a URI-escaped string or HTTP parameter. <a href="http_8h.html#a837276600c9c2f0521c44879c8d371b7">More...</a><br /></td></tr>
<tr class="separator:a837276600c9c2f0521c44879c8d371b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9259be209e6afbf15987922d1841e70"><td class="memItemLeft" align="right" valign="top">EVENT2_EXPORT_SYMBOL char * </td><td class="memItemRight" valign="bottom"><a class="el" href="http_8h.html#ad9259be209e6afbf15987922d1841e70">evhttp_uriencode</a> (const char *str, ev_ssize_t size, int space_to_plus)</td></tr>
<tr class="memdesc:ad9259be209e6afbf15987922d1841e70"><td class="mdescLeft"> </td><td class="mdescRight">As evhttp_encode_uri, but if 'size' is nonnegative, treat the string as being 'size' bytes long. <a href="http_8h.html#ad9259be209e6afbf15987922d1841e70">More...</a><br /></td></tr>
<tr class="separator:ad9259be209e6afbf15987922d1841e70"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Basic support for HTTP serving. </p>
<p>As Libevent is a library for dealing with event notification and most interesting applications are networked today, I have often found the need to write HTTP code. The following prototypes and definitions provide an application with a minimal interface for making HTTP requests and for creating a very simple HTTP server. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a8260a82157dadb3a659cb1ba783bb304"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8260a82157dadb3a659cb1ba783bb304">◆ </a></span>EVHTTP_URI_HOST_STRIP_BRACKETS</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define EVHTTP_URI_HOST_STRIP_BRACKETS   0x04</td>
</tr>
</table>
</div><div class="memdoc">
<p>Strip brackets from the IPv6 address and only for <a class="el" href="http_8h.html#aaa22a9dc787b32f5133e81a7f5e96d25" title="Return the host part of an evhttp_uri, or NULL if it has no host set.">evhttp_uri_get_host()</a>, <a class="el" href="http_8h.html#a8eb220c9f81c70ccd3f69fb692cffbda" title="Join together the uri parts from parsed data to form a URI-Reference.">evhttp_uri_join()</a> returns the host with brackets. </p>
<p>Thus you can use host part of the evhttp_uri for getaddrinfo().</p>
<dl class="section see"><dt>See also</dt><dd>also _EVHTTP_URI_HOST_HAS_BRACKETS </dd></dl>
</div>
</div>
<a id="ace576911d436a163584f4942907270a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace576911d436a163584f4942907270a5">◆ </a></span>EVHTTP_URI_NONCONFORMANT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define EVHTTP_URI_NONCONFORMANT   0x01</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tolerate URIs that do not conform to RFC3986. </p>
<p>Unfortunately, some HTTP clients generate URIs that, according to RFC3986, are not conformant URIs. If you need to support these URIs, you can do so by passing this flag to evhttp_uri_parse_with_flags.</p>
<p>Currently, these changes are: </p><ul>
<li>
Nonconformant URIs are allowed to contain otherwise unreasonable characters in their path, query, and fragment components. </li>
</ul>
</div>
</div>
<a id="a12b8b97844f5d13e2f7b6d5c9f8ce0b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12b8b97844f5d13e2f7b6d5c9f8ce0b6">◆ </a></span>EVHTTP_URI_QUERY_LAST_VAL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define EVHTTP_URI_QUERY_LAST_VAL   0x02</td>
</tr>
</table>
</div><div class="memdoc">
<p>Prefer last value over the first from query args. </p>
<p>Example: test=123&test=456 Without: test=123 With : test=456 </p>
</div>
</div>
<a id="a64c9b77846e83a6f3d45f4be4b7150de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64c9b77846e83a6f3d45f4be4b7150de">◆ </a></span>EVHTTP_URI_QUERY_NONCONFORMANT</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define EVHTTP_URI_QUERY_NONCONFORMANT   0x01</td>
</tr>
</table>
</div><div class="memdoc">
<p>Tolerate queries that are not standard conformant. </p>
<p>Here are some examples:</p>
<ul>
<li>test=123&test2 with with this flag test2 will be present in the output headers</li>
<li>test=123&&test2=1 will parse the query with this flag</li>
<li>test=123&=456&test2=1 will parse the queyr with this flag, however there won't be empty key present </li>
</ul>
</div>
</div>
<a id="a3e2dab6e699d45bb208299312e73b2aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e2dab6e699d45bb208299312e73b2aa">◆ </a></span>EVHTTP_URI_UNIX_SOCKET</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define EVHTTP_URI_UNIX_SOCKET   0x08</td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse unix domain socket URIs, for example: </p>
<p><a href="http://unix:/run/control.sock:/controller">http://unix:/run/control.sock:/controller</a> </p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ac858319d667267f9fc848c2bb6931aa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac858319d667267f9fc848c2bb6931aa3">◆ </a></span>evhttp_cmd_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="http_8h.html#ac858319d667267f9fc848c2bb6931aa3">evhttp_cmd_type</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The different request types supported by evhttp. </p>
<p>These are as specified in RFC2616, except for:</p><ul>
<li>PATCH which is specified by RFC5789</li>
<li>PROPFIND, PROPPATCH, MKCOL, LOCK, UNLOCK, COPY, MOVE which are specified by RFC4918</li>
</ul>
<p>By default, only some of these methods are accepted and passed to user callbacks; use <a class="el" href="http_8h.html#a5682dc2fe3f18dcbffd9a55bcebac9a0" title="Sets the what HTTP methods are supported in requests accepted by this server, and passed to user call...">evhttp_set_allowed_methods()</a> to change which methods are allowed. </p>
</div>
</div>
<a id="a01f921a909d1504f873222b1d29c2b4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01f921a909d1504f873222b1d29c2b4a">◆ </a></span>evhttp_request_error</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="http_8h.html#a01f921a909d1504f873222b1d29c2b4a">evhttp_request_error</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The different error types supported by evhttp. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="http_8h.html#a90bf87f4fdaea3ccf414bf8572b0228a" title="Set a callback for errors.">evhttp_request_set_error_cb()</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a01f921a909d1504f873222b1d29c2b4aa52bd0bcf036c6577b3ea55c7c086880d"></a>EVREQ_HTTP_TIMEOUT </td><td class="fielddoc"><p>Timeout reached, also. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="http_8h.html#af74808e97c298ae690b29d45e8cf2f7b" title="Sets the timeout for this connection.">evhttp_connection_set_timeout()</a> </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a01f921a909d1504f873222b1d29c2b4aac2922c6ca9cd576a7e722f18876676a8"></a>EVREQ_HTTP_EOF </td><td class="fielddoc"><p>EOF reached. </p>
</td></tr>
<tr><td class="fieldname"><a id="a01f921a909d1504f873222b1d29c2b4aad755cf3b1ab25bdfede358b137e7d1e4"></a>EVREQ_HTTP_INVALID_HEADER </td><td class="fielddoc"><p>Error while reading header, or invalid header. </p>
</td></tr>
<tr><td class="fieldname"><a id="a01f921a909d1504f873222b1d29c2b4aa3bd6cb0d713a8ae9eaa3cf667a3edc9b"></a>EVREQ_HTTP_BUFFER_ERROR </td><td class="fielddoc"><p>Error encountered while reading or writing. </p>
</td></tr>
<tr><td class="fieldname"><a id="a01f921a909d1504f873222b1d29c2b4aaa07ee0241ac812c0e8bc1eabc5ac810d"></a>EVREQ_HTTP_REQUEST_CANCEL </td><td class="fielddoc"><p>The <a class="el" href="http_8h.html#a7758d5808bd2e062d2aa3912ca19d2fd" title="Cancels a pending HTTP request.">evhttp_cancel_request()</a> called on this request. </p>
</td></tr>
<tr><td class="fieldname"><a id="a01f921a909d1504f873222b1d29c2b4aac26adda43a54b9011756e83e93b9b26b"></a>EVREQ_HTTP_DATA_TOO_LONG </td><td class="fielddoc"><p>Body is greater then evhttp_connection_set_max_body_size() </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae8599595a7617e5e3c213e45c10d22a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8599595a7617e5e3c213e45c10d22a0">◆ </a></span>evhttp_accept_socket()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">EVENT2_EXPORT_SYMBOL int evhttp_accept_socket </td>
<td>(</td>
<td class="paramtype">struct evhttp * </td>
<td class="paramname"><em>http</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> </td>
<td class="paramname"><em>fd</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Makes an HTTP server accept connections on the specified socket. </p>
<p>This may be useful to create a socket and then fork multiple instances of an http server, or when a socket has been communicated via file descriptor passing in situations where an http servers does not have permissions to bind to a low-numbered port.</p>
<p>Can be called multiple times to have the http server listen to multiple different sockets.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">http</td><td>a pointer to an evhttp object </td></tr>
<tr><td class="paramname">fd</td><td>a socket fd that is ready for accepting connections </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 on failure. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="http_8h.html#a3431520b3bd31e957e93e519b2fe56a5" title="Binds an HTTP server on the specified address and port.">evhttp_bind_socket()</a> </dd></dl>
</div>
</div>
<a id="a68381a3b8dbab796bdcf44ef64a45a73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68381a3b8dbab796bdcf44ef64a45a73">◆ </a></span>evhttp_accept_socket_with_handle()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">EVENT2_EXPORT_SYMBOL struct evhttp_bound_socket* evhttp_accept_socket_with_handle </td>
<td>(</td>
<td class="paramtype">struct evhttp * </td>
<td class="paramname"><em>http</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="util_8h.html#a7ef0023565082a65020f6e56be59fd0b">evutil_socket_t</a> </td>
<td class="paramname"><em>fd</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Like <a class="el" href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0" title="Makes an HTTP server accept connections on the specified socket.">evhttp_accept_socket()</a>, but returns a handle for referencing the socket. </p>
<p>The returned pointer is not valid after <em>http</em> is freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">http</td><td>a pointer to an evhttp object </td></tr>
<tr><td class="paramname">fd</td><td>a socket fd that is ready for accepting connections </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Handle for the socket on success, NULL on failure. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="http_8h.html#ae8599595a7617e5e3c213e45c10d22a0" title="Makes an HTTP server accept connections on the specified socket.">evhttp_accept_socket()</a>, <a class="el" href="http_8h.html#a565c02c3469c28c1c043cb4a1e3b242c" title="Makes an HTTP server stop accepting connections on the specified socket.">evhttp_del_accept_socket()</a> </dd></dl>
</div>
</div>
<a id="a04d806174bb259be406b32669a4ed9cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04d806174bb259be406b32669a4ed9cc">◆ </a></span>evhttp_add_header()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">EVENT2_EXPORT_SYMBOL int evhttp_add_header </td>
<td>(</td>
<td class="paramtype">struct evkeyvalq * </td>
<td class="paramname"><em>headers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>value</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a header to a list of existing headers. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">headers</td><td>the evkeyvalq object to which to add a header. headers must not be NULL. </td></tr>
<tr><td class="paramname">key</td><td>the name of the header </td></tr>
<tr><td class="paramname">value</td><td>the value belonging to the header </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success, -1 otherwise. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="http_8h.html#a54b0a309df8639541cfb552ab152e9bd" title="Finds the value belonging to a header.">evhttp_find_header()</a>, <a class="el" href="http_8h.html#ad2399662cdf2e300251d4330c649ac77" title="Removes all headers from the header list.">evhttp_clear_headers()</a> </dd></dl>
</div>
</div>
<a id="afa5936add0f808199f617be4aa42bbd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa5936add0f808199f617be4aa42bbd7">◆ </a></span>evhttp_add_server_alias()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">EVENT2_EXPORT_SYMBOL int evhttp_add_server_alias </td>
<td>(</td>
<td class="paramtype">struct evhttp * </td>
<td class="paramname"><em>http</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>alias</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a server alias to an http object. </p>
<p>The http object can be a virtual host or the main server.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">http</td><td>the evhttp object </td></tr>
<tr><td class="paramname">alias</td><td>the alias to add </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>evhttp_add_remove_alias() </dd></dl>
</div>
</div>
<a id="ad89bdd6053de1ff73fab1b2bb3c3182f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad89bdd6053de1ff73fab1b2bb3c3182f">◆ </a></span>evhttp_add_virtual_host()</h2>