Rename RegisterService to Bind and add is_regex parameter; indent public/protected/private by one space; refine rest example.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user