* NEW [someip] someip proxy supports to start web server
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include "web_server.h"
#ifndef VSOMEIP_ENABLE_SIGNAL_HANDLING
#include <csignal>
@@ -554,6 +555,9 @@ vsomeip_gateway_start(int argc, char **argv)
vsomeip_gateway_conf_init(conf);
vsomeip_gateway_parse_opts(argc, argv, conf);
conf_vsomeip_gateway_parse_ver2(conf);
+ if (conf.http_server.enable) {
+ start_rest_server(&conf.http_server);
+ }
if (-1 != vsomeip_gateway_conf_check_and_set(conf)) {
vsomeip_gateway(conf);
}
