2016-05-12 04:36:12 +08:00
|
|
|
---
|
|
|
|
title: Enabling flags
|
|
|
|
---
|
|
|
|
|
2016-10-14 04:48:45 +08:00
|
|
|
- `MG_ENABLE_CGI` Enable CGI support
|
|
|
|
- `MG_ENABLE_SSL` Enable SSL/TLS support (OpenSSL API)
|
2016-05-12 04:36:12 +08:00
|
|
|
- `MG_ENABLE_IPV6` Enable IPV6 support
|
2016-10-14 04:48:45 +08:00
|
|
|
- `MG_ENABLE_MQTT` enable MQTT client
|
2016-05-12 04:36:12 +08:00
|
|
|
- `MG_ENABLE_MQTT_BROKER` enable MQTT broker
|
|
|
|
- `MG_ENABLE_DNS_SERVER` enable DNS server
|
|
|
|
- `MG_ENABLE_COAP` enable CoAP protocol
|
2016-10-14 14:50:00 +08:00
|
|
|
- `MG_ENABLE_HTTP_WEBDAV` enable WebDAV extensions to HTTP
|
2016-05-12 04:36:12 +08:00
|
|
|
- `MG_ENABLE_GETADDRINFO` enable `getaddrinfo()` in `mg_resolve2()`
|
2016-10-14 14:50:00 +08:00
|
|
|
- `MG_ENABLE_THREADS` enable `mg_start_thread()` API
|