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

Method request

libs/cppdap/src/session.cpp:159–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 std::pair<const dap::TypeInfo*, GenericRequestHandler> request(
160 const std::string& name) {
161 std::unique_lock<std::mutex> lock(requestMutex);
162 auto it = requestMap.find(name);
163 return (it != requestMap.end()) ? it->second : decltype(it->second){};
164 }
165
166 void put(const dap::TypeInfo* typeinfo,
167 const GenericRequestHandler& handler) {

Callers 1

processRequestMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected