MCPcopy Create free account
hub / github.com/3rdparty/libprocess / Flags

Method Flags

src/tests/ssl_client.cpp:59–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57{
58public:
59 Flags()
60 {
61 add(&Flags::use_ssl,
62 "use_ssl",
63 "Whether to try and connect using an SSL based socket. This is "
64 "separate from whether LIBPROCESS_SSL_ENABLED is set. We use "
65 "this for testing failure cases.",
66 true);
67
68 add(&Flags::data,
69 "data",
70 "The message to send as the client.",
71 "Hello World");
72
73 add(&Flags::server,
74 "server",
75 "IP address of server",
76 "127.0.0.1");
77
78 add(&Flags::server_hostname,
79 "server_hostname",
80 "Hostname of server");
81
82 add(&Flags::port, "port", "Port of server", 5050);
83 }
84
85 bool use_ssl;
86 string data;

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected