summary refs log tree commit diff
path: root/man/libhttpc_method.3
blob: 65834166cbc5862d58f6cb336d9ed85304d1afd9 (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
55
56
57
58
59
.Dd December 13, 2024
.Dt LIBHTTPC_METHOD 3
.Os
.
.Sh NAME
.Nm LibHTTPC_Method
HTTP method
.
.Sh SYNOPSIS
.In libhttpc/libhttpc.h
.Ft "const char *"
.Fn LibHTTPC_dumpMethod "enum LibHTTPC_Method method"
.Ft "enum LibHTTPC_Method"
.Fn LibHTTPC_loadMethod "const char *method"
.
.Sh DESCRIPTION
HTTP/1.1
comes with
some methods.
.Xr libhttpc 3
provides
QOL functions
for converting them
between
user-readable strings
and machine-readable enum.
.Ss Methods
These are methods
that are supported
by
.Xr libhttpc 3 :
.Bl -tag
.It Dv LibHTTPC_Method_OPTIONS
OPTIONS
.It Dv LibHTTPC_Method_GET
GET
.It Dv LibHTTPC_Method_HEAD
HEAD
.It Dv LibHTTPC_Method_POST
POST
.It Dv LibHTTPC_Method_PUT
PUT
.It Dv LibHTTPC_Method_DELETE
DELETE
.It Dv LibHTTPC_Method_TRACE
TRACE
.It Dv LibHTTPC_Method_CONNECT
CONNECT
.El
Also,
there's
.Dv LibHTTPC_Method_EXTENSION_METHOD
for user-defined methods.
.
.Sh SEE ALSO
.Xr libhttpc 3
.
.Sh AUTHORS
.An Nakidai Perumenei Aq Mt nakidai@disroot.org