LLDB mainline
lldb_protocol::mcp::Response Struct Reference

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.

Detailed Description

A response to a request, either an error or a result.

Definition at line 76 of file Protocol.h.

Member Data Documentation

◆ id

Id lldb_protocol::mcp::Response::id = 0

◆ result


The documentation for this struct was generated from the following file: