MCPcopy Create free account
hub / github.com/apache/brpc / set_version

Method set_version

src/brpc/server.h:561–561  ·  view source on GitHub ↗

Set version string for this server, will be shown in /version page

Source from the content-addressed store, hash-verified

559
560 // Set version string for this server, will be shown in /version page
561 void set_version(const std::string& version) { _version = version; }
562 const std::string& version() const { return _version; }
563
564 // Return the address this server is listening

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
StartDummyServerAtFunction · 0.45
~HttpResponseSenderMethod · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36