MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / getPayload

Method getPayload

3rdparty/cppdap/src/session.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 std::function<void()> getPayload() override {
62 auto request = reader.read();
63 Log(request.c_str());
64 if (request.size() > 0) {
65 if (auto payload = processMessage(request)) {
66 return payload;
67 }
68 }
69 return {};
70 }
71
72 void connect(const std::shared_ptr<dap::Reader>& r,
73 const std::shared_ptr<dap::Writer>& w) override {

Callers 1

TEST_FFunction · 0.80

Calls 3

c_strMethod · 0.80
readMethod · 0.45
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64