KiCad PCB EDA Suite
Loading...
Searching...
No Matches
api_handler.h File Reference
#include <functional>
#include <optional>
#include <fmt/format.h>
#include <tl/expected.hpp>
#include <wx/debug.h>
#include <wx/string.h>
#include <google/protobuf/message.h>
#include <kicommon.h>
#include <api/common/envelope.pb.h>
#include <core/typeinfo.h>

Go to the source code of this file.

Classes

struct  HANDLER_CONTEXT
 
class  API_HANDLER
 

Typedefs

typedef tl::expected< ApiResponse, ApiResponseStatus > API_RESULT
 
template<typename T >
using HANDLER_RESULT = tl::expected< T, ApiResponseStatus >
 

Typedef Documentation

◆ API_RESULT

typedef tl::expected<ApiResponse, ApiResponseStatus> API_RESULT

Definition at line 42 of file api_handler.h.

◆ HANDLER_RESULT

template<typename T >
using HANDLER_RESULT = tl::expected<T, ApiResponseStatus>

Definition at line 45 of file api_handler.h.