MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / Send

Method Send

emmy_debugger/src/transporter/transporter.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void Transporter::Send(int cmd, const nlohmann::json document)
48{
49 std::string documentText = document.dump(-1, ' ', false, nlohmann::detail::error_handler_t::ignore);
50 Send(cmd, documentText.data(), documentText.size());
51}
52
53void Transporter::OnAfterRead(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf)
54{

Callers 5

OnBreakMethod · 0.45
OnEvalResultMethod · 0.45
SendLogMethod · 0.45
HookMethod · 0.45
redirectFunction · 0.45

Calls 4

uv_buf_initFunction · 0.85
dumpMethod · 0.80
sizeMethod · 0.80
uv_async_sendFunction · 0.50

Tested by

no test coverage detected