summary refs log tree commit diff
path: root/man/libhttpc_method.3
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-12-13 04:54:50 +0300
committerNakidai <nakidai@disroot.org>2024-12-13 04:54:50 +0300
commitc4a9635cb33ba610e663ebdb23dc01d687476109 (patch)
tree691a18c3af2761449bb3c52589fafb3f3a88c2d6 /man/libhttpc_method.3
parentd29b57abc2cb0f0e34c295a8954f99f903ab5b22 (diff)
downloadlibhttpc-c4a9635cb33ba610e663ebdb23dc01d687476109.tar.gz
libhttpc-c4a9635cb33ba610e663ebdb23dc01d687476109.zip
Add manpages
Diffstat (limited to 'man/libhttpc_method.3')
-rw-r--r--man/libhttpc_method.359
1 files changed, 59 insertions, 0 deletions
diff --git a/man/libhttpc_method.3 b/man/libhttpc_method.3
new file mode 100644
index 0000000..6583416
--- /dev/null
+++ b/man/libhttpc_method.3
@@ -0,0 +1,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