MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetServer

Method SetServer

plugins/http/http-server.cpp:378–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void HttpServerSelection::SetServer(const std::string &name)
379{
380 if (GetHttpServerByName(name)) {
381 SetItem(name);
382 } else {
383 SetItem("");
384 }
385}
386
387void HttpServerSelection::SetServer(const std::weak_ptr<HttpServer> &server)
388{

Callers

nothing calls this directly

Calls 2

GetHttpServerByNameFunction · 0.85
NameMethod · 0.45

Tested by

no test coverage detected