userver: userver/server/handlers/fallback_handlers.hpp Source File
Loading...
Searching...
No Matches
fallback_handlers.hpp
1#pragma once
2
3#include <string>
4
5USERVER_NAMESPACE_BEGIN
6
7namespace server::handlers {
8
9enum class FallbackHandler {
10 kImplicitOptions,
11};
12
13constexpr size_t kFallbackHandlerMax =
14 static_cast<size_t>(FallbackHandler::kImplicitOptions);
15
16const std::string& ToString(FallbackHandler);
17
18FallbackHandler FallbackHandlerFromString(const std::string& fallback_str);
19
20} // namespace server::handlers
21
22USERVER_NAMESPACE_END