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 = static_cast<size_t>(FallbackHandler::kImplicitOptions);
14
15const std::string& ToString(FallbackHandler);
16
17FallbackHandler FallbackHandlerFromString(const std::string& fallback_str);
18
19} // namespace server::handlers
20
21USERVER_NAMESPACE_END