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. | |
A single inspector protocol message (request, response, or event).
| std::string pulp::inspect::InspectorMessage::error_code |
Stable machine-readable code for error responses.
| std::string pulp::inspect::InspectorMessage::error_data_json |
Optional structured error details.
| int64_t pulp::inspect::InspectorMessage::id = 0 |
Non-zero for request/response pairs. Zero for events.
| bool pulp::inspect::InspectorMessage::is_error = false |
True if this is an error response.
| std::string pulp::inspect::InspectorMessage::method |
"Domain.method" — e.g. "DOM.getDocument"
| std::string pulp::inspect::InspectorMessage::params_json |
JSON object string (params for request, result for response).