summary refs log tree commit diff
path: root/man/libhttpc_method.3
diff options
context:
space:
mode:
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