Lines Matching refs:info
79 struct lws_context_creation_info info;
97 memset(&info, 0, sizeof info); /* otherwise uninitialized garbage */
98 info.port = 7681;
99 info.protocols = protocols;
100 info.pvo = &pvo;
101 info.mounts = &mount;
102 info.error_document_404 = "/404.html";
103 info.options =
106 info.listen_accept_role = "raw-proxy";
107 info.listen_accept_protocol = "raw-proxy";
111 info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT |
113 info.ssl_cert_filepath = "localhost-100y.cert";
114 info.ssl_private_key_filepath = "localhost-100y.key";
117 info.options |= LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;
120 info.options |= LWS_SERVER_OPTION_ALLOW_HTTP_ON_HTTPS_LISTENER;
124 context = lws_create_context(&info);