LLDB mainline
lldb_protocol::mcp::TextResourceContents Struct Reference

The contents of a specific resource or sub-resource. More...

#include <Protocol.h>

Public Attributes

std::string uri
 The URI of this resource.
std::string text
 The text of the item.
std::string mimeType
 The MIME type of this resource, if known.

Detailed Description

The contents of a specific resource or sub-resource.

Definition at line 134 of file Protocol.h.

Member Data Documentation

◆ mimeType

std::string lldb_protocol::mcp::TextResourceContents::mimeType

◆ text

std::string lldb_protocol::mcp::TextResourceContents::text

The text of the item.

This must only be set if the item can actually be represented as text (not binary data).

Definition at line 140 of file Protocol.h.

Referenced by lldb_protocol::mcp::fromJSON(), lldb_private::mcp::DebuggerResourceProvider::ReadDebuggerResource(), lldb_private::mcp::DebuggerResourceProvider::ReadTargetResource(), and lldb_protocol::mcp::toJSON().

◆ uri

std::string lldb_protocol::mcp::TextResourceContents::uri

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