LLDB mainline
|
A response to a request, either an error or a result. More...
#include <Protocol.h>
Public Attributes | |
Id | id = 0 |
The request id. | |
std::variant< Error, llvm::json::Value > | result |
The result of the request, either an Error or the JSON value of the response. |
A response to a request, either an error or a result.
Definition at line 76 of file Protocol.h.
Id lldb_protocol::mcp::Response::id = 0 |
The request id.
Definition at line 78 of file Protocol.h.
Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::operator==(), lldb_protocol::mcp::Server::Received(), and lldb_protocol::mcp::toJSON().
std::variant<Error, llvm::json::Value> lldb_protocol::mcp::Response::result |
The result of the request, either an Error or the JSON value of the response.
Definition at line 81 of file Protocol.h.
Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::Server::InitializeHandler(), lldb_protocol::mcp::operator==(), lldb_protocol::mcp::Server::Received(), lldb_protocol::mcp::Server::ResourcesListHandler(), lldb_protocol::mcp::Server::ResourcesReadHandler(), lldb_protocol::mcp::toJSON(), lldb_protocol::mcp::Server::ToolsCallHandler(), and lldb_protocol::mcp::Server::ToolsListHandler().