MCPcopy Create free account
hub / github.com/dfranx/SHADERed / getPayload

Method getPayload

libs/cppdap/src/session.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 std::function<void()> getPayload() override {
56 auto request = reader.read();
57 if (request.size() > 0) {
58 if (auto payload = processMessage(request)) {
59 return payload;
60 }
61 }
62 return {};
63 }
64
65 void connect(const std::shared_ptr<dap::Reader>& r,
66 const std::shared_ptr<dap::Writer>& w) override {

Callers 1

TEST_FFunction · 0.80

Calls 2

readMethod · 0.45
sizeMethod · 0.45

Tested by 1

TEST_FFunction · 0.64