Rename RegisterService to Bind and add is_regex parameter; indent public/protected/private by one space; refine rest example.

This commit is contained in:
Adam Gu
2018-05-22 15:45:38 +08:00
parent 1bab2da8f4
commit cdc61b4bf2
36 changed files with 182 additions and 235 deletions
+1 -2
View File
@@ -24,8 +24,7 @@ int main(int argc, char* argv[]) {
try {
webcc::SoapServer server(port, workers);
server.RegisterService(std::make_shared<CalcService>(),
"/calculator");
server.Bind(std::make_shared<CalcService>(), "/calculator");
server.Run();