summaryrefslogtreecommitdiffhomepage
path: root/http.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-05-02 14:48:14 +0200
committerAki <please@ignore.pl>2020-05-02 14:48:14 +0200
commit890ed2ce61a20e7ae14070fc1a76b24e248d0d08 (patch)
tree74578e0767b06c7a7641d9ae8205dff00fedb326 /http.h
parentcb558e648250eb886bcadbec7da6dc650ebe7839 (diff)
downloadplop-890ed2ce61a20e7ae14070fc1a76b24e248d0d08.zip
plop-890ed2ce61a20e7ae14070fc1a76b24e248d0d08.tar.gz
plop-890ed2ce61a20e7ae14070fc1a76b24e248d0d08.tar.bz2
Added initial method parsing
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.h b/http.h
index 5a9283e..8134b1d 100644
--- a/http.h
+++ b/http.h
@@ -10,6 +10,8 @@ enum method
METHOD_DELETE,
METHOD_OPTIONS,
METHOD_PATCH,
+ NUMBER_OF_METHODS,
+ METHOD_INVALID,
};
struct request