MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / config

Method config

libcaf_net/tests/drivers/autobahn.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36struct config : caf::actor_system_config {
37 config() {
38 opt_group{custom_options_, "global"} //
39 .add<uint16_t>("port,p", "port to listen for incoming connections")
40 .add<size_t>("max-connections,m", "limit for concurrent clients");
41 opt_group{custom_options_, "tls"} //
42 .add<std::string>("key-file,k", "path to the private key file")
43 .add<std::string>("cert-file,c", "path to the certificate file");
44 }
45};
46
47// -- synchronous web server implementation ------------------------------------

Callers 5

launch_background_tasksFunction · 0.45
middleman.hppFile · 0.45
has_lazy_contextClass · 0.45
has_contextClass · 0.45
acceptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected