MCPcopy Create free account
hub / github.com/78/tenbox / SendStr

Function SendStr

src/daemon/llm_proxy.cpp:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97bool SendStr(int fd, const std::string& s) {
98 return SendAll(fd, s.data(), s.size());
99}
100
101bool RecvExact(int fd, char* buf, size_t len) {
102 size_t got = 0;

Callers 3

WriteCallbackFunction · 0.70
ForwardToUpstreamMethod · 0.70
SendResponseMethod · 0.70

Calls 3

SendAllFunction · 0.70
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected