Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::inspect::InspectorMessage Struct Reference

A single inspector protocol message (request, response, or event). More...

#include <protocol.hpp>

Public Attributes

int64_t id = 0
 Non-zero for request/response pairs. Zero for events.
std::string method
 "Domain.method" — e.g. "DOM.getDocument"
std::string params_json
 JSON object string (params for request, result for response).
bool is_error = false
 True if this is an error response.
std::string error_code
 Stable machine-readable code for error responses.
std::string error_data_json
 Optional structured error details.

Detailed Description

A single inspector protocol message (request, response, or event).

Member Data Documentation

◆ error_code

std::string pulp::inspect::InspectorMessage::error_code

Stable machine-readable code for error responses.

◆ error_data_json

std::string pulp::inspect::InspectorMessage::error_data_json

Optional structured error details.

◆ id

int64_t pulp::inspect::InspectorMessage::id = 0

Non-zero for request/response pairs. Zero for events.

◆ is_error

bool pulp::inspect::InspectorMessage::is_error = false

True if this is an error response.

◆ method

std::string pulp::inspect::InspectorMessage::method

"Domain.method" — e.g. "DOM.getDocument"

◆ params_json

std::string pulp::inspect::InspectorMessage::params_json

JSON object string (params for request, result for response).


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/inspect/include/pulp/inspect/protocol.hpp