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 77 of file Protocol.h.
Id lldb_protocol::mcp::Response::id = 0 |
The request id.
Definition at line 79 of file Protocol.h.
Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::ProtocolDescriptor::KeyFor(), lldb_protocol::mcp::operator==(), 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 82 of file Protocol.h.
Referenced by lldb_protocol::mcp::ProtocolDescriptor::Extract(), lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::operator==(), and lldb_protocol::mcp::toJSON().