LLDB mainline
|
A request that expects a response. More...
#include <Protocol.h>
Public Attributes | |
Id | id = 0 |
The request id. | |
std::string | method |
The method to be invoked. | |
std::optional< llvm::json::Value > | params |
The method's params. |
A request that expects a response.
Definition at line 34 of file Protocol.h.
Id lldb_protocol::mcp::Request::id = 0 |
The request id.
Definition at line 36 of file Protocol.h.
Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::Server::Handle(), lldb_protocol::mcp::operator==(), lldb_protocol::mcp::Server::Received(), and lldb_protocol::mcp::toJSON().
std::string lldb_protocol::mcp::Request::method |
The method to be invoked.
Definition at line 38 of file Protocol.h.
Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::Server::Handle(), lldb_protocol::mcp::operator==(), and lldb_protocol::mcp::toJSON().
std::optional<llvm::json::Value> lldb_protocol::mcp::Request::params |
The method's params.
Definition at line 40 of file Protocol.h.
Referenced by lldb_protocol::mcp::fromJSON(), lldb_protocol::mcp::operator==(), lldb_protocol::mcp::Server::ResourcesReadHandler(), lldb_protocol::mcp::toJSON(), and lldb_protocol::mcp::Server::ToolsCallHandler().