aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-26 22:05:49 +0200
committerStefan Boberg <[email protected]>2021-09-26 22:05:49 +0200
commit957840565c5970e9bede4c7f506edbad80893c47 (patch)
treec95daf4e5908c59f02780439088ea883dadb5169 /zenhttp/include
parentRemoved unused KV cache related code (diff)
downloadzen-957840565c5970e9bede4c7f506edbad80893c47.tar.xz
zen-957840565c5970e9bede4c7f506edbad80893c47.zip
Added HttpVerb ToString() function for use in logging
Diffstat (limited to 'zenhttp/include')
-rw-r--r--zenhttp/include/zenhttp/httpcommon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenhttp/include/zenhttp/httpcommon.h b/zenhttp/include/zenhttp/httpcommon.h
index 08f1b47a9..62070061c 100644
--- a/zenhttp/include/zenhttp/httpcommon.h
+++ b/zenhttp/include/zenhttp/httpcommon.h
@@ -40,6 +40,8 @@ enum class HttpVerb : uint8_t
gsl_DEFINE_ENUM_BITMASK_OPERATORS(HttpVerb);
+const std::string_view ToString(HttpVerb Verb);
+
enum class HttpResponseCode
{
// 1xx - Informational