MCPcopy Create free account
hub / github.com/Snapchat/Valdi / submitMessage

Method submitMessage

valdi/src/valdi/jscore/JSCoreDebuggerProxy.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void DebuggerConnection::submitMessage(const Valdi::Value& value) {
61 auto json = Valdi::valueToJson(value);
62 submitJson(std::string_view(reinterpret_cast<const char*>(json->data()), json->size()));
63}
64
65void DebuggerConnection::submitJson(const std::string_view& json) {
66 if constexpr (kDebugRequests) {

Callers 1

submitMessageToJsMethod · 0.45

Calls 3

valueToJsonFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected