MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / get_params

Function get_params

tools/server/server-http.cpp:354–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354static std::map<std::string, std::string> get_params(const httplib::Request & req) {
355 std::map<std::string, std::string> params;
356 for (const auto & [key, value] : req.params) {
357 params[key] = value;
358 }
359 for (const auto & [key, value] : req.path_params) {
360 params[key] = value;
361 }
362 return params;
363}
364
365static std::map<std::string, std::string> get_headers(const httplib::Request & req) {
366 std::map<std::string, std::string> headers;

Callers 2

getMethod · 0.85
postMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected