blob: 495a2f5f5f5657db180eff605c6289bcba35f522 (
plain)
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
|
.Dd December 14, 2024
.Dt LIBHTTPC 7
.Os Nakidai Perumenei
.
.Sh NAME
.Nm libhttpc
.Nd HTTP Library (Cute :3)
.
.Sh DESCRIPTION
This library provides
some QoL function
for parsing requests
and constructing responses.
It's written
for making
HTTP servers.
.
.Pp
If you want to
check the documentation,
you may want to
check
.Pa include/libhttpc.h
file
or
.Xr libhttpc 3
.
.Sh EXAMPLES
As an example,
I can
tell you
the way
how I personally
use this library:
.Bl -bullet
.It
Receive request from the user
.It
Pass the request to the
.Xr libhttpc_loadrequest 3
function
.It
Handle the request
.It
Send request back
using
.Xr libhttpc_dumpresponse 3
.El
.
.Sh SEE ALSO
.Xr libhttpc 3
.
.Sh AUTHORS
.An Nakidai Perumenei Aq Mt nakidai@disroot.org
|