http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_check_feature.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_check_feature.md 
b/thirdparty/civetweb-1.10/docs/api/mg_check_feature.md
new file mode 100644
index 0000000..1da1b07
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_check_feature.md
@@ -0,0 +1,40 @@
+# Civetweb API Reference
+
+### `mg_check_feature( feature );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`feature`**|`unsigned`| A value indicating the feature to be checked |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`unsigned`| A value indicating if a feature is available. A positive value 
indicates available, while **0** is returned for an unavailable feature |
+
+### Description
+
+The function `mg_check_feature()` can be called from an application program to 
check of specific features have been compiled in the civetweb version which the 
application has been linked to. The feature to check is provided as an unsigned 
integer parameter. If the function is available in the currently linked library 
version, a value **> 0** is returned. Otherwise the function 
`mg_check_feature()` returns the value **0**.
+
+The following parameter values can be used:
+
+| Value | Compilation option | Description |
+| :---: | :---: | :--- |
+| **1** | NO_FILES | *Able to serve files*.  If this feature is available, the 
webserver is able to serve files directly from a directory tree. |
+| **2** | NO_SSL | *Support for HTTPS*. If this feature is available, the 
webserver van use encryption in the client-server connection. SSLv2, SSLv3, 
TLSv1.0, TLSv1.1 and TLSv1.2 are supported depending on the SSL library 
CivetWeb has been compiled with, but which protocols are used effectively when 
the server is running is dependent on the options used when the server is 
started. |
+| **4** | NO_CGI | *Support for CGI*. If this feature is available, external 
CGI scripts can be called by the webserver. |
+| **8** | USE_IPV6 | *Support IPv6*. The CivetWeb library is capable of 
communicating over both IPv4 and IPv6, but IPv6 support is only available if it 
has been enabled at compile time. |
+| **16** | USE_WEBSOCKET | Support for web sockets. WebSockets support is 
available in the CivetWeb library if the proper options has been used during 
cimpile time. |
+| **32** | USE_LUA | *Support for Lua scripts and Lua server pages*. CivetWeb 
supports server side scripting through the Lua language, if that has been 
enabled at compile time. Lua is an efficient scripting language which is less 
resource heavy than for example PHP. |
+| **64** | USE_DUKTAPE | *Support for server side JavaScript*. Server side 
JavaScript can be used for dynamic page generation if the proper options have 
been set at compile time. Please note that client side JavaScript execution is 
always available if it has been enabled in the connecting browser. |
+| **128** | NO_CACHING | *Support for caching*. The webserver will support 
caching, if it has not been disabled while compiling the library. |
+
+Parameter values other than the values mentioned above will give undefined 
results. Therefore—although the parameter values for the 
`mg_check_feature()` function are effectively bitmasks, you should't assume 
that combining two of those values with an OR to a new value will give any 
meaningful results when the function returns.
+
+### See Also
+
+* [`mg_get_option();`](mg_get_option.md)
+* [~~`mg_get_valid_option_names();`~~](mg_get_valid_option_names.md)
+* [`mg_get_valid_options();`](mg_get_valid_options.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_client_cert.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_client_cert.md 
b/thirdparty/civetweb-1.10/docs/api/mg_client_cert.md
new file mode 100644
index 0000000..c81fbd0
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_client_cert.md
@@ -0,0 +1,21 @@
+# Civetweb API Reference
+
+### `struct mg_client_cert;`
+
+### Fields
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`subject`**|`const char *`| The subject of the certificate |
+|**`issuer`**|`const char *`| The issuer of the certificate |
+|**`serial`**|`const char *`| The serial number of the certificate |
+|**`finger`**|`const char *`| The fingerprint of the certificate |
+
+### Description
+
+The structure `client_cert` is used as a sub-structure in the 
[`mg_request_info`](mg_request_info.md) structure to store information of an 
optional client supplied certificate.
+
+### See Also
+
+* [`struct mg_request_info;`](mg_request_info.md)
+* [`mg_get_request_info();`](mg_get_request_info.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_client_options.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_client_options.md 
b/thirdparty/civetweb-1.10/docs/api/mg_client_options.md
new file mode 100644
index 0000000..f3b9b68
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_client_options.md
@@ -0,0 +1,21 @@
+# Civetweb API Reference
+
+### `struct mg_client_options;`
+
+### Fields
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`host`**|`const char *`|The hostname or IP address to connect to|
+|**`port`**|`int`|The port on the server|
+|**`client_cert`**|`const char *`|Pointer to client certificate|
+|**`server_cert`**|`const char *`|Pointer to a server certificate|
+
+### Description
+
+The the `mgclient_options` structure contains host and security information to 
connect as a client to another host. A parameter of this type is used in the 
call to the function 
[`mg_connect_client_secure();`](mg_connect_client_secure.md). Please note that 
IPv6 addresses are only permitted if IPv6 support was enabled during 
compilation. You can use the function 
[`mg_check_feature()`](mg_check_feature.md) with the parameter `USE_IPV6` while 
running your application to check if IPv6 is supported.
+
+### See Also
+
+* [`mg_check_feature();`](mg_check_feature.md)
+* [`mg_connect_client_secure();`](mg_connect_client_secure.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_close_connection.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_close_connection.md 
b/thirdparty/civetweb-1.10/docs/api/mg_close_connection.md
new file mode 100644
index 0000000..ca8d2a1
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_close_connection.md
@@ -0,0 +1,21 @@
+# Civetweb API Reference
+
+### `mg_close_connection( conn );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection which must be closed|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_close_connection()` is used to close a connection which was 
opened with the [`mg_download()`](mg_download.md) function. Use of this 
function to close a connection which was opened in another way is undocumented 
and may give unexpected results.
+
+### See Also
+
+* [`mg_download();`](mg_download.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_connect_client.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_connect_client.md 
b/thirdparty/civetweb-1.10/docs/api/mg_connect_client.md
new file mode 100644
index 0000000..e2aa773
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_connect_client.md
@@ -0,0 +1,29 @@
+# Civetweb API Reference
+
+### `mg_connect_client( host, port, use_ssl, error_buffer, error_buffer_size 
);`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`host`**|`const char *`|hostname or IP address of the server|
+|**`port`**|`int`|The port to connect to on the server|
+|**`use_ssl`**|`int`|Connects using SSL of this value is not zero|
+|**`error_buffer`**|`char *`|Buffer to store an error message|
+|**`error_buffer_size`**|`size_t`|Maximum size of the error buffer including 
the NUL terminator|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`struct mg_connection *`||
+
+### Description
+
+The function `mg_connect_client()` connects to a TCP server as a client. This 
server can be a HTTP server but this is not necessary. The function returns a 
pointer to a connection structure when the connection is established and NULL 
otherwise. The host may be on IPv4 or IPv6, but IPv6 is not enabled in every 
Civetweb installation. Specifically the use of IPv6 communications has to be 
enabled when the library is compiled. At runtime you can use the 
[`mg_check_feature()`](mg_check_feature.md) function with the parameter 
`USE_IPV6` to check if IPv6 communication is supported.
+ 
+### See Also
+
+* [`mg_check_feature();`](mg_check_feature.md)
+* [`mg_connect_client_secure();`](mg_connect_client_secure.md)
+* [`mg_connect_websocket_client();`](mg_connect_websocket_client.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_connect_client_secure.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_connect_client_secure.md 
b/thirdparty/civetweb-1.10/docs/api/mg_connect_client_secure.md
new file mode 100644
index 0000000..a87949b
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_connect_client_secure.md
@@ -0,0 +1,30 @@
+# Civetweb API Reference
+
+### `mg_connect_client_secure( client_options, error_buffer, error_buffer_size 
);`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`client_options`**|`const struct mg_client_options *`|Settings about the 
server connection|
+|**`error_buffer`**|`char *`|Buffer to store an error message|
+|**`error_buffer_size`**|`size_t`|Size of the error message buffer including 
the NUL terminator|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`struct mg_connection *`||
+
+### Description
+
+The function `mg_connect_client_secure()` creates a secure connection with a 
server. The information about the connection and server is passed in a 
structure and an error message may be returned in a local buffer. The function 
returns a pointer to a `struct mg_connection` structure when successful and 
NULL otherwise.
+
+Please note that IPv6 communication is supported by Civetweb, but only if the 
use of IPv6 was enabled at compile time. The check while running a program if 
IPv6 communication is possible you can call 
[`mg_check_feature()`](mg_check_feature.md) with the `USE_IPV6` parameter to 
check if IPv6 communications can be used.
+
+### See Also
+
+* [`struct mg_client_options;`](mg_client_options.md)
+* [`mg_check_feature();`](mg_check_feature.md)
+* [`mg_connect_client();`](mg_connect_client.md)
+* [`mg_connect_websocket_client();`](mg_connect_websocket_client.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_connect_websocket_client.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_connect_websocket_client.md 
b/thirdparty/civetweb-1.10/docs/api/mg_connect_websocket_client.md
new file mode 100644
index 0000000..8562b25
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_connect_websocket_client.md
@@ -0,0 +1,36 @@
+# Civetweb API Reference
+
+### `mg_connect_websocket_client( host, port, use_ssl, error_buffer, 
error_buffer_size, path, origin, data_func, close_func, user-data);`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`host`**|`const char *`|The hostname or IP address of the server|
+|**`port`**|`int`|The port on the server|
+|**`use_ssl`**|`int`|Use SSL if this parameter is not equal to zero|
+|**`error_buffer`**|`char *`|Buffer to store an error message|
+|**`error_buffer_size`**|`size_t`|Size of the error message buffer including 
the NUL terminator|
+|**`path`**|`const char *`|The server path to connect to, for example `/app` 
if you want to connect to `localhost/app`|
+|**`origin`**|`const char *`|The value of the `Origin` HTTP header|
+|**`data_func`**|`mg_websocket_data_handler`|Callback which is used to process 
data coming back from the server|
+|**`close_func`**|`mg_websocket_close_handler`|Callback which is called when 
the connection is to be closed|
+|**`user_data`**|`void *`|User supplied argument|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`struct mg_connection *`|A pointer to the connection structure, or NULL if 
connecting failed|
+
+### Description
+
+The function `mg_connect_websocket_client()` connects to a websocket on a 
server as a client. Data and close events are processed with callback functions 
which must be provided in the call.
+
+Civetweb supports both IPv4 and IPv6 communication, but only if the use if 
IPv6 has been enabled at compile time. When running an application it is 
possible to check if IPv6 addressing is available by calling the 
[`mg_check_feature()`](mg_check_feature.md) function with the `USE_IPV6` 
parameter.
+
+### See Also
+
+* [`mg_check_feature();`](mg_check_feature.md)
+* [`mg_connect_client();`](mg_connect_client.md)
+* [`mg_connect_client_secure();`](mg_connect_client_secure.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_cry.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_cry.md 
b/thirdparty/civetweb-1.10/docs/api/mg_cry.md
new file mode 100644
index 0000000..0cf45c9
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_cry.md
@@ -0,0 +1,23 @@
+# Civetweb API Reference
+
+### `mg_cry( conn, fmt, ... );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`const struct mg_connection *`|The connection on which a problem 
occured|
+|**`fmt`**|`const char *`|Format string without a line return|
+|**`...`**|*various*|Parameters depending on the format string|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_cry()` is called when something happens on a connection. The 
function takes a format string similar to the `printf()` series of functions 
with parameters and creates a text string which can then be used for logging. 
The `mg_cry()` function prints the output to the opened error log stream. Log 
messages can be processed with the `log_message()` callback function specified 
in the `struct mg_callbacks` structure.
+
+### See Also
+
+* [`struct mg_callbacks;`](mg_callbacks.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_download.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_download.md 
b/thirdparty/civetweb-1.10/docs/api/mg_download.md
new file mode 100644
index 0000000..1dbded0
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_download.md
@@ -0,0 +1,37 @@
+# Civetweb API Reference
+
+### `mg_download( host, port, use_ssl, error_buffer, error_buffer_size, fmt, 
... );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`host`**|`const char *`|The hostname or IP address of the server|
+|**`port`**|`int`|The port number on the server|
+|**`use_ssl`**|`int`|Use SSL if this value is not equal zero|
+|**`error_buffer`**|`char *`|Buffer to store an error message|
+|**`error_buffer_size`**|`size_t`|Size of the error message buffer including 
the terminating NUL|
+|**`fmt`**|`const char *`|Format string specifying the remote command to 
execute|
+|**`...`**|*various*|Parameters used in the format string|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`struct mg_connection *`|A pointer to the connection structure if successful 
and NULL otherwise|
+
+### Description
+
+The `mg_download()` function is used to download data from a remote webserver. 
The server address can either be specified as a hostname or IP address and SSL 
can be used if needed. If the function succeeds, a pointer is returned to a 
connection structure. The connection must be closed with a call to the 
[`mg_close_connection()`](mg_close_connection.md) function.
+
+The format string is a format string from the `printf()` series of functions 
to specify the remote command. An example to get the main index page from 
Google is the following call:
+
+`conn = mg_download( "google.com", 80, 0, ebuf, sizeof(ebuf),
+                     "%s", "GET / HTTP/1.0\r\nHost: google.com\r\n\r\n" );`
+
+Please note that although Civetweb supports both IPv4 and IPv6 communication 
that IPv6 addressing is only available if it was enabled at compile time. When 
running an application it is possible to check if IPv6 support has been 
compiled in by using the [`mg_check_feature()`](md_check_feature.md) function 
with the parameter `USE_IPV6`.
+
+### See Also
+
+* [`mg_check_feature();`](mg_check_feature.md)
+* [`mg_close_connection();`](mg_close_connection.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_exit_library.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_exit_library.md 
b/thirdparty/civetweb-1.10/docs/api/mg_exit_library.md
new file mode 100644
index 0000000..2643403
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_exit_library.md
@@ -0,0 +1,29 @@
+# Civetweb API Reference
+
+### `mg_exit_library( );`
+
+### Parameters
+
+none
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`unsigned`| **0** is returned or error |
+
+### Description
+
+The function `mg_exit_library()` should be called from an application program, 
when the library should be unloaded.
+It must be called only from one thread (it is not guaranteed to be thread 
safe).
+
+Only use `mg_exit_library( );` when you used [`mg_init_library( feature 
);`](api/mg_init_library.md) before.
+
+The library init and exit functions are new in version 1.9 (as dummy 
implementation) and effective only from version 1.10.
+For compatibility reasons, other functions (such as 
[`mg_start();`](mg_start.md)) will initialize the required features as well,
+but they will no longer do a de-initialization, leaving a memory leak when the 
library is unloaded.
+
+### See Also
+
+* [`mg_init_library( feature );`](mg_init_library.md)
+* [`mg_check_feature( feature );`](mg_check_feature.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_form_data_handler.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_form_data_handler.md 
b/thirdparty/civetweb-1.10/docs/api/mg_form_data_handler.md
new file mode 100644
index 0000000..2338b72
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_form_data_handler.md
@@ -0,0 +1,36 @@
+# Civetweb API Reference
+
+### `struct mg_form_data_handler;`
+
+### Fields
+
+|Field|Description|
+|:---|:---|
+|**`field_found`**|**`int field_found( const char *key, const char *filename, 
char *path, size_t pathlen, void *user_data )`**;|
+||The callback function `field_found()` is called when a new field has been 
found. The return value of this callback is used to define how the field should 
be processed. The parameters contain the following information:|
+||**`key`** - The name of the field as it was named with the `name` tag in the 
HTML source.|
+||**`filename`** - The name of the file to upload. Please not that this 
parameter is only valid when the input type was set to `file`. Otherwise this 
parameter has the value `NULL`.|
+||**`path`** - This is an output parameter used to store the full name of the 
file including the path to store an incoming file at the computer. This 
parameter must be provided by the application to Civetweb when a form field of 
type `file` is found. Please not that together with setting this parameter, the 
callback function must return `FORM_FIELD_STORAGE_STORE`.i With any other 
return value the contents of the `path` buffer is ignored by Civetweb.|
+||**`pathlen`** - The length of the buffer where the output path can be 
stored.|
+||**`user_data`** - A pointer to the value of the field `user_data` of the 
structure `struct mg_form_data_handler`.|
+||The callback function `field_found()` can return the following values back 
to Civetweb:|
+||**`FORM_FIELD_STORAGE_SKIP`** - Ignore the field and continue with 
processing the next field|
+||**`FORM_FIELD_STORAGE_GET`** - Call the callback function `field_get()` to 
receive the form data|
+||**`FORM_FIELD_STORAGE_STORE`** - Store a file as `path` and overwrite that 
file if it already exists|
+||**`FORM_FIELD_STORAGE_ABORT`** - Stop parsing the request and ignore all 
remaining form fields|
+|**`field_get`**|**`int field_get( const char *key, const char *value, size_t 
valuelen, void *user_data );`**|
+|**`field_store`**|**`int field_store( const char *path, long long file_size, 
void *user_data );`**|
+||If the callback function `field_found()` returned 
`FORM_FIELD_STORAGE_STORE`, Civetweb will try to store the received data in a 
file. If writing the file is successful, the callback function `field_store()` 
is called. This function is only called after completion of a full upload, not 
if a file has only partly been uploaded. When only part of a file is received, 
Civetweb will delete that partly upload in the background and not inform the 
main application through this callback. The following parameters are provided 
in the function call:|
+||**`path`** -|
+||**`file_size`** - The path on the server where the file was stored|
+||**`user_data`** - The size of the stored file in bytes|
+|**`user_data`**|**`void *`** The value of the field `user_data` when the 
callback functions were registered with a call to `mg_handle_form_request();`|
+||The `user_data` field is a user supplied argument that will be passed as 
parameter to each of callback functions|
+
+### Description
+
+The structure `struct mg_form_data_handler` contains callback functions for 
handling form fields. Form fields give additional information back from a web 
page to the server which can be processed by these callback functions.
+
+### See Also
+
+* [`mg_handle_form_request();`](mg_handle_form_request.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_builtin_mime_type.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_builtin_mime_type.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_builtin_mime_type.md
new file mode 100644
index 0000000..c9044ae
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_builtin_mime_type.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### `mg_get_builtin_mime_type( file_name );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`file_name`**|`const char *`|The name of the file for which the MIME type 
has to be determined|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const char *`|A text string describing the MIME type|
+
+### Description
+
+The function `mg_get_builtin_mime_type()` tries to determine the MIME type of 
a given file. If the MIME type cannot be determined, the value `text/plain` is 
returned. Please note that this function does not an intelligent check of the 
file contents. The MIME type is solely determined based on the file name 
extension.
+
+### See Also
+
+* [`mg_send_mime_file();`](mg_send_mime_file.md)
+* [`mg_send_mime_file2();`](mg_send_mime_file2.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_connection_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_connection_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_connection_info.md
new file mode 100644
index 0000000..14a2f68
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_connection_info.md
@@ -0,0 +1,40 @@
+# Civetweb API Reference
+
+### `mg_get_connection_info( ctx, idx, buffer, buflen );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`struct mg_context *`|The server context handle|
+|**`idx`**|`int`|Connection index within the context|
+|**`buffer**|`char *`|A string buffer to store the information|
+|**`buflen**|`int`|Size of the string buffer (including space for a 
terminating 0)|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Available context information in bytes (excluding the terminating 0)|
+
+### Description
+
+The function `mg_get_connection_info()` returns statistics information 
collected for 
+a server connection index.  This may be empty if the server has not been built 
with 
+statistics support (`#define USE_SERVER_STATS`). 
+If data is available, the returned string is in JSON format. The exact content 
may
+vary, depending on the connection state and server version.
+
+### Note
+
+This is an experimental interface and may be changed, replaced
+or even removed in the future. Currently the index `idx` must be
+between `0` and `num_threads-1`. The thread is not locked for
+performance reasons, so the information may be inconsistent 
+in rare cases.
+
+### See Also
+
+* [`mg_get_system_info();`](mg_get_system_info.md)
+* [`mg_get_context_info();`](mg_get_context_info.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_context.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_context.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_context.md
new file mode 100644
index 0000000..ce6cb2b
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_context.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### `mg_get_context( conn );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`const struct mg_connection *`|The connection for which the 
context has to be returned|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`struct mg_context *`|A pointer to the context of the given connection|
+
+### Description
+
+The function `mg_get_context()` returns the context associated with a 
connection.
+
+### See Also
+
+* [`mg_start();`](mg_start.md)
+* [`mg_stop();`](mg_stop.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_context_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_context_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_context_info.md
new file mode 100644
index 0000000..88ffcf7
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_context_info.md
@@ -0,0 +1,32 @@
+# Civetweb API Reference
+
+### `mg_get_context_info( ctx, buffer, buflen );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`struct mg_context *`|The server context handle|
+|**`buffer**|`char *`|A string buffer to store the information|
+|**`buflen**|`int`|Size of the string buffer (including space for a 
terminating 0)|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Available context information in bytes (excluding the terminating 0)|
+
+### Description
+
+The function `mg_get_context_info()` returns statistics information collected 
for
+the server context.  This may be empty if the server has not been built with
+statistics support (`#define USE_SERVER_STATS`).
+If data is available, the returned string is in JSON format. The exact content 
may
+vary, depending on the server state and server version.
+
+### See Also
+
+* [`mg_get_system_info();`](mg_get_system_info.md)
+* [`mg_get_connection_info();`](mg_get_connection_info.md)
+
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_cookie.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_cookie.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_cookie.md
new file mode 100644
index 0000000..a738bc0
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_cookie.md
@@ -0,0 +1,29 @@
+# Civetweb API Reference
+
+### `mg_get_cookie( cookie, var_name, buf, buf_len );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`cookie`**|`const char *`|The cookie name|
+|**`var_name`**|`const char *`|The variable name|
+|**`buf`**|`char *`|The buffer where to store the contents of the cookie|
+|**`buf_len`**|`size_t`|The length of the cookie buffer, including the 
terminating NUL|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|The length of the cookie or an error code|
+
+### Description
+
+The function `mg_get_cookie()` tries to fetch the value of a certain cookie 
variable. The contents will either be stored in an application provided buffer, 
or an error code will be returned. The destination buffer is guaranteed to be 
NUL terminated if the pointer of the buffer is not a NULL pointer and the size 
of the buffer is at least one byte.
+
+If the function succeeds, the return value of the function is the length in 
bytes of the cookie. The value **`-1`** is returned if the requested cookie 
could not be found and **`-2`** if the destination buffer is represented by a 
NULL pointer, is zero length or too short to store the whole cookie.
+
+### See Also
+
+* [`mg_get_var();`](mg_get_var.md)
+* [`mg_get_var2();`](mg_get_var2.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_header.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_header.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_header.md
new file mode 100644
index 0000000..8ad1810
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_header.md
@@ -0,0 +1,22 @@
+# Civetweb API Reference
+
+### `mg_get_header( conn, name );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`| A pointer referencing the connection |
+|**`name`**|`const char *`| The name of the request header |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const char *`| A pointer to the value of the request header, or NULL of no 
matching header count be found |
+
+### Description
+
+HTTP and HTTPS clients can send request headers to the server to provide 
details about the communication. These request headers can for example specify 
the preferred language in which the server should respond and the supported 
compression algorithms. The function `mg_get_header()` can be called to return 
the contents of a specific request header. The function will return a pointer 
to the value text of the header when succesful, and NULL of no matching request 
header from the client could be found.
+
+### See Also

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_option.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_option.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_option.md
new file mode 100644
index 0000000..b731dd7
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_option.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### `mg_get_option( ctx, name );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`const struct mg_context *`| A pointer to the webserver context |
+|**`name`**|`const char *`| The name of the option to query |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const char *`| A pointer to the option value in text, or NULL if an error 
occured |
+
+### Description
+
+When starting the CivetWeb webserver, options are provided to set the wanted 
behaviour of the server. The options which were used during startup can be 
queried through the `mg_get_option()` function. Options are read-only and 
cannot be changed while the webserver is running. The function returns a 
pointer to a text string containing the value of the queried option, or NULL if 
an error occured. It is guaranteed however that if a valid option name is 
provided as a parameter to this function, that a pointer to a string is 
returned and not NULL. In case an option was empty or NULL during 
initialisation, `mg_get_option()` will return a pointer to an empty string.
+
+### See Also
+
+* [`mg_start();`](mg_start.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_ports.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_ports.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_ports.md
new file mode 100644
index 0000000..ba492ca
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_ports.md
@@ -0,0 +1,31 @@
+# Civetweb API Reference
+
+### ~~`mg_get_ports( ctx, size, ports, ssl );`~~
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`const struct mg_context *`||
+|**`size`**|`size_t`|The number of ports which can be stored in the buffer|
+|**`ports`**|`int *`|Buffer for storage of the port numbers|
+|**`ssl`**|`int *`|Buffer used to store if SSL is used for the ports|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`size_t`|The number of ports stored in the buffer|
+
+### Description
+
+This function is deprecated. Use 
[`mg_get_server_ports()`](mg_get_server_ports.md) instead.
+
+The function `mg_get_ports()` returns a list of ports the Civetweb server is 
listening on. The port numbers are stored in a buffer of integers which is 
supplied by the calling party. The function also stores information if SSL is 
used on the ports. This information is stored in a second buffer which should 
be capable of storing the same amount of items as the ports buffer.
+
+The function returns the number of ports actually stored in the buffer.
+
+### See Also
+
+* [`struct mg_server_ports;`](mg_server_ports.md)
+* [`mg_get_server_ports();`](mg_get_server_ports.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_request_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_request_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_request_info.md
new file mode 100644
index 0000000..b7ddd07
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_request_info.md
@@ -0,0 +1,28 @@
+# Civetweb API Reference
+
+### `mg_get_request_info( conn );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`const struct mg_connection *`|The connection for which the 
request info is needed|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const struct mg_request_info *`|Pointer to the requested info, or NULL if an 
error occured|
+
+### Description
+
+The function `mg_get_request_info()` returns information about the request on 
a given connection. This information is returned as a pointer to a 
[`mg_request_info`](mg_request_info.md) structure. If an error occurs, a NULL 
pointer is returned instead.
+
+Use this function when implementing a server.
+
+### See Also
+
+* [`struct mg_request_info;`](mg_request_info.md)
+* [`mg_get_response_info();`](mg_get_response_info.md)
+* [`struct mg_response_info;`](mg_response_info.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_request_link.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_request_link.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_request_link.md
new file mode 100644
index 0000000..d58a592
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_request_link.md
@@ -0,0 +1,29 @@
+# Civetweb API Reference
+
+### `mg_get_request_link( conn, buf, buflen );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`| A pointer referencing the connection |
+|**`buf`**|`char *`| A buffer to store the link |
+|**`buflen`**|`size_t`| Size of the buffer |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`| Return code: <0 for error, >=0 for success |
+
+### Description
+
+Store a formatted link corresponding to the current request.
+
+E.g., returns
+`http://mydomain.com:8080/path/to/callback.ext`
+or 
+`http://127.0.0.1:8080/path/to/callback.ext`
+depending on the auth check settings.
+
+### See Also

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_response.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_response.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_response.md
new file mode 100644
index 0000000..3e7b727
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_response.md
@@ -0,0 +1,29 @@
+# Civetweb API Reference
+
+### `mg_get_response( conn, ebuf, ebuf_len, timeout );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection to listen on|
+|**`ebuf`**|`char *`|Buffer to store an error message|
+|**`ebuf_len`**|`size_t`|Size of the error message buffer including the 
terminating NUL|
+|**`timeout`**|`int`|Time to wait for a response in milliseconds|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Success value of the wait|
+
+### Description
+
+The function `mg_get_reponse()` wait for a response from a remote server. A 
return value equal or greater than zero is an indication for success, a 
negative value us used to signal an error condition. A timeout can be specified 
which lets the function return after a specified number of milliseconds, even 
if no data is received from the remote party. If the timeout value is negative, 
the function will not return until data has been read or an unrecoverable error 
occurs.
+
+Error messages are stored in a caller supplied error message buffer.
+
+### See Also
+
+* [`mg_connect_client();`](mg_connect_client.md)
+* [`mg_connect_client_secure();`](mg_connect_client_secure.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_response_code_text.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_response_code_text.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_response_code_text.md
new file mode 100644
index 0000000..79ffa13
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_response_code_text.md
@@ -0,0 +1,25 @@
+# Civetweb API Reference
+
+### `mg_get_response_code_text( conn, response_code );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`| A pointer referencing the connection |
+|**`response_code`**|`int`| Response code for which the text is queried |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const char *`| A pointer to a human readable text explaining the response 
code. |
+
+### Description
+
+The function `mg_get_response_code_text()` returns a pointer to a human 
readable text describing the HTTP response code which was provided as a 
parameter.
+
+### See Also
+
+* [`mg_get_builtin_mime_type();`](mg_get_builtin_mime_type.md)
+* [`mg_version();`](mg_version.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_response_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_response_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_response_info.md
new file mode 100644
index 0000000..40e7ab8
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_response_info.md
@@ -0,0 +1,29 @@
+# Civetweb API Reference
+
+### `mg_get_response_info( conn );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`const struct mg_connection *`|The connection for which the 
response info is needed|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const struct mg_request_info *`|Pointer to the requested info, or NULL if an 
error occured|
+
+### Description
+
+The function `mg_response_info()` returns information about a response on a 
client connection opened by `mg_connect_client()`. If an error occurs, a NULL 
pointer is returned instead.
+
+Use this function when implementing a client.
+
+### See Also
+
+* [`struct mg_response_info;`](mg_response_info.md)
+* [`mg_connect_client();`](mg_connect_client.md)
+* [`mg_get_request_info();`](mg_get_request_info.md)
+* [`struct mg_request_info;`](mg_request_info.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_server_ports.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_server_ports.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_server_ports.md
new file mode 100644
index 0000000..323b470
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_server_ports.md
@@ -0,0 +1,28 @@
+# Civetweb API Reference
+
+### `mg_get_server_ports( ctx, size, ports );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`const struct mg_context *`|The context for which the server ports 
are requested|
+|**`size`**|`int`|The size of the buffer to store the port information|
+|**`ports`**|`struct mg_server_ports *`|Buffer to store the port information|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|The actual number of ports returned, or an error condition|
+
+### Description
+
+The `mg_get_server_ports()` returns a list with server ports on which the 
Civetweb server is listening. The ports are returned for a given context and 
stored with additional information like the SSL and redirection state in a list 
of structures. The list of structures must be allocated by the calling routine. 
The size of the structure is also passed to `mg_get_server_ports()`.
+
+The function returns the number of items in the list, or a negative value if 
an error occured.
+
+### See Also
+
+* [~~`mg_get_ports();`~~](mg_get_ports.md)
+* [`struct mg_server_ports;`](mg_server_ports.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_system_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_system_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_system_info.md
new file mode 100644
index 0000000..6add98d
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_system_info.md
@@ -0,0 +1,30 @@
+# Civetweb API Reference
+
+### `mg_get_system_info( buffer, buflen );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`buffer**|`char *`|A string buffer to store the information|
+|**`buflen**|`int`|Size of the string buffer (including space for a 
terminating 0)|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Available system information in bytes (excluding the terminating 0)|
+
+### Description
+
+The function `mg_get_system_info()` returns information collected for the 
system 
+(operating system, compiler, version, ...). 
+Currently this data is returned as string is in JSON format, but changes to 
the 
+format are possible in future versions.  The exact content of the JSON object 
may vary, 
+depending on the operating system and server version.
+This string should be included for support requests.
+
+### See Also
+
+* [`mg_get_context_info();`](mg_get_context_info.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_user_connection_data.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_user_connection_data.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_user_connection_data.md
new file mode 100644
index 0000000..2e24c13
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_user_connection_data.md
@@ -0,0 +1,23 @@
+# Civetweb API Reference
+
+### `mg_get_user_connection_data( conn );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`const struct mg_connection *`|The connection for which to return 
the user data|
+
+### Return Value
+
+| Type | Description | 
+| :--- | :--- |
+|`void *`|A pointer to the user data, or NULL if no user data was registered 
with the connection|
+
+### Description
+
+The function `mg_get_user_connection_data()` returns the user data associated 
with a connection. This user data is represented with a pointer which has been 
prevously registered with a call to 
[`mg_set_user_connection_data();`](mg_set_user_connection_data.md). With this 
function it is possible to pass state information between callback functions 
refering to a specific connection.
+
+### See Also
+
+* [`mg_set_user_connection_data();`](mg_set_user_connection_data.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_user_data.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_user_data.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_user_data.md
new file mode 100644
index 0000000..87bbe04
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_user_data.md
@@ -0,0 +1,23 @@
+# Civetweb API Reference
+
+### `mg_get_user_data( ctx );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`const struct mg_context *`|The context for which the user data is 
requested|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`void *`||
+
+### Description
+
+The function `mg_get_user_data()` returns the user data associated with a 
Civetweb context. This is a pointer value which has previously been used in the 
call to [`mg_start()`](mg_start.md) to initialize the server context.
+
+### See Also
+
+* [`mg_start();`](mg_start.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_valid_option_names.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_valid_option_names.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_valid_option_names.md
new file mode 100644
index 0000000..c6b43ad
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_valid_option_names.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### ~~`mg_get_valid_option_names();`~~
+
+### Parameters
+
+*none*
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`const char **`|An array with strings where the even elements represent the 
option names, and the odd element the option values The array is NULL 
terminated.|
+
+### Description
+
+The function `mg_get_valid_option_names()` is depricated. Use 
[`mg_get_valid_options()`](mg_get_valid_options.md) instead.
+
+This function returns an array with option/value pairs describing the valid 
configuration options for Civetweb. En element value of NULL signals the end of 
the list.
+
+### See Also
+
+* [`struct mg_option;`](mg_option.md)
+* [`mg_get_valid_options();`](mg_get_valid_options.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_valid_options.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_valid_options.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_valid_options.md
new file mode 100644
index 0000000..fd6755e
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_valid_options.md
@@ -0,0 +1,22 @@
+# Civetweb API Reference
+
+### `mg_get_valid_options();`
+
+### Parameters
+
+*none*
+
+### Return Value
+
+| Type | Description | 
+| :--- | :--- |
+|`const struct mg_option *`|An array with all valid configuration options|
+
+### Description
+
+The function `mg_get_valid_options()` returns an array with all valid 
configuration options of Civetweb. Each element in the array is a structure 
with three fields which represent the name of the option, the value of the 
option and the type of the value. The array is terminated with an element for 
which the name is `NULL`. See for more details about this structure the 
documentation of [`struct mg_option`](mg_option.md).
+
+### See Also
+
+* [`struct mg_option;`](mg_option.md)
+* [`mg_start();`](mg_start.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_var.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_var.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_var.md
new file mode 100644
index 0000000..c21c7bb
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_var.md
@@ -0,0 +1,30 @@
+# Civetweb API Reference
+
+### `mg_get_var( data, data_len, var_name, dst, dst_len );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`data`**|`const char *`|Encoded buffer from either POST data or the URI of 
a GET call|
+|**`data_len`**|`size_t`|Size of the encode buffer including the terminating 
NULL|
+|**`var_name`**|`const char *`|Name of the variable to search for|
+|**`dst`**|`char *`|Output buffer to store the content of the variable|
+|**`dst_len`**|`size_t`|Length of the output buffer|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|The length of the variable or an error code|
+
+### Description
+
+The function `mg_get_var()` returns the value of a variable which is passed to 
the server with either a POST method, or as a parameter in the URI of a GET 
call. The data pointer passed to the function points to a form-URI encoded 
buffer. This can either be POST data or the `request_info.query_string`. The 
name of the searched variable and a buffer to store the results are also 
parameters to the function.
+
+The function either returns the length of the variable when successful, 
**`-1`** if the variable could not be found and **`-2`** if the destination 
buffer is NULL, has size zero or is too small to store the resulting variable 
value.
+
+### See Also
+
+* [`mg_get_cookie();`](mg_get_cookie.md)
+* [`mg_get_var2();`](mg_get_var2.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_get_var2.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_get_var2.md 
b/thirdparty/civetweb-1.10/docs/api/mg_get_var2.md
new file mode 100644
index 0000000..3a47d91
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_get_var2.md
@@ -0,0 +1,31 @@
+# Civetweb API Reference
+
+### `mg_get_var2( data, data_len, var_name, dst, dst_len, occurrence );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`data`**|`const char *`|Encoded data buffer from either POST data or a GET 
URI|
+|**`data_len`**|`size_t`|The size of the encoded data buffer|
+|**`var_name`**|`const char *`|The name of the variable to search for|
+|**`dst`**|`char *`|Destination buffer to store the variable content|
+|**`dst_len`**|`size_t`|The size of the destination buffer including the 
terminating NUL|
+|**`occurrence`**|`size_t`|The instance index of the wanted variable|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Length of the variable contents, or an error code|
+
+### Description
+
+The function `mg_get_var2()` can be used to return the contents of a variable 
passed to the server as either POST data, or in the URI in a GET call. The 
function is somilar to [`mg_get_var()`](mg_get_var.md) but the difference is 
that `mg_get_var2()` can be used if the same variable is present multiple times 
in the data. The `occurence` parameter is used to identify which instance of 
the variable must be returned where **`0`** is used for the first variable with 
the specified name, **`1`** for the second and so on.
+
+The function returns the length of the variable content in the return buffer, 
**`-1`** if a variable with the specified name could not be found and **`-2`** 
if the pointer to the result buffer is NULL, the size of the result buffer is 
zero or when the result buffer is too small to contain the variable content and 
terminating NUL.
+
+### See Also
+
+* [`mg_get_cookie();`](mg_get_cookie.md)
+* [`mg_get_var();`](mg_get_var.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_handle_form_request.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_handle_form_request.md 
b/thirdparty/civetweb-1.10/docs/api/mg_handle_form_request.md
new file mode 100644
index 0000000..4a1d888
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_handle_form_request.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### `mg_handle_form_request( conn, fdh );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection on which form data must be 
processed|
+|**`fdh`**|`struct mg_form_data_handler`|Structure with callback functions to 
to the heavy work|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|The number of fields processed, or an error code|
+
+### Description
+
+The function `mg_handle_form_request()` processes form data on a connection. 
The function uses callback functions for the heavy lifting which are passed to 
the function as fields in a [`struct 
mg_form_data_handler`](mg_form_data_handler.md) structure. The number of 
processed fields is returned by the function, or a negative value when an error 
occured. I nthe situation where some fields are processed successfully (for 
example file downloads) and an error occurs later in the form processing, the 
function still returns a negative value. It is the responsibility of the 
calling party to do the necessary cleanup. The calling party should also do the 
cleanup of any files which are created, but not required anymore later.
+
+### See Also
+
+* [`struct mg_form_data_handler;`](mg_form_data_handler.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_header.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_header.md 
b/thirdparty/civetweb-1.10/docs/api/mg_header.md
new file mode 100644
index 0000000..403dc88
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_header.md
@@ -0,0 +1,18 @@
+# Civetweb API Reference
+
+### `struct mg_header;`
+
+### Fields
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`name`**|`const char *`| The name of the client request header |
+|**`value`**|`const char *`| The value of the client request header |
+
+### Description
+
+The structure `mg_header` is used as a sub-structure in the [`struct 
mg_request_info;`](mg_request_info.md) structure to store the name and value of 
one HTTP request header as sent by the client.
+
+### See Also
+
+* [`struct mg_request_info;`](mg_request_info.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_init_library.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_init_library.md 
b/thirdparty/civetweb-1.10/docs/api/mg_init_library.md
new file mode 100644
index 0000000..f0d2c46
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_init_library.md
@@ -0,0 +1,44 @@
+# Civetweb API Reference
+
+### `mg_init_library( feature );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`feature`**|`unsigned`| A bitmask indicating the features to be ininialized 
|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`unsigned`| A value indicating the initialized features is available. **0** 
is returned or error |
+
+### Description
+
+The function `mg_init_library()` should be called from an application program 
before using any other function.
+It must be called only from one thread (it is not guaranteed to be thread 
safe).
+
+This function is new in version 1.9 (as dummy implementation) and effective 
only from version 1.10.
+For compatibility reasons, other functions (such as 
[`mg_start();`](mg_start.md)) will initialize the required features as well,
+but they will no longer do a de-initialization, leaving a memory leak when the 
library is unloaded.
+
+The following parameter values can be used:
+
+| Value | Compilation option | Description |
+| :---: | :---: | :--- |
+| **1** | NO_FILES | *Able to serve files*.  If this feature is available, the 
webserver is able to serve files directly from a directory tree. |
+| **2** | NO_SSL | *Support for HTTPS*. If this feature is available, the 
webserver van use encryption in the client-server connection. SSLv2, SSLv3, 
TLSv1.0, TLSv1.1 and TLSv1.2 are supported depending on the SSL library 
CivetWeb has been compiled with, but which protocols are used effectively when 
the server is running is dependent on the options used when the server is 
started. |
+| **4** | NO_CGI | *Support for CGI*. If this feature is available, external 
CGI scripts can be called by the webserver. |
+| **8** | USE_IPV6 | *Support IPv6*. The CivetWeb library is capable of 
communicating over both IPv4 and IPv6, but IPv6 support is only available if it 
has been enabled at compile time. |
+| **16** | USE_WEBSOCKET | Support for web sockets. WebSockets support is 
available in the CivetWeb library if the proper options has been used during 
cimpile time. |
+| **32** | USE_LUA | *Support for Lua scripts and Lua server pages*. CivetWeb 
supports server side scripting through the Lua language, if that has been 
enabled at compile time. Lua is an efficient scripting language which is less 
resource heavy than for example PHP. |
+| **64** | USE_DUKTAPE | *Support for server side JavaScript*. Server side 
JavaScript can be used for dynamic page generation if the proper options have 
been set at compile time. Please note that client side JavaScript execution is 
always available if it has been enabled in the connecting browser. |
+| **128** | NO_CACHING | *Support for caching*. The webserver will support 
caching, if it has not been disabled while compiling the library. |
+
+The parameters can added using bitwise or. Values above 255 are reserved, the 
behavior of the function is undefined if any unknown bit is set.
+
+### See Also
+
+* [`mg_check_feature( feature );`](api/mg_check_feature.md)
+* [`mg_exit_library( feature );`](api/mg_exit_library.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_lock_connection.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_lock_connection.md 
b/thirdparty/civetweb-1.10/docs/api/mg_lock_connection.md
new file mode 100644
index 0000000..167f922
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_lock_connection.md
@@ -0,0 +1,26 @@
+# Civetweb API Reference
+
+### `mg_lock_connection( conn );`
+
+### Parameters
+
+| Parameter | Type | Description |
+|**`conn`**|`struct mg_connection *`|The connection to retrieve a lock|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_lock_connection()` is specifically for websocket connections 
to lock connection. Using this function in combination with 
[`mg_unlock_connection();`](mg_unlock_connection.md) is necessary around 
[`mg_write()`](mg_write.md) and [`mg_printf()`](mg_printf.md) calls if the code 
has server-initiated communication, as well as with communication in direct 
response to a message.
+
+### See Also
+
+* [`mg_lock_context();`](mg_lock_context.md)
+* [`mg_printf();`](mg_printf.md)
+* [`mg_unlock_connection();`](mg_unlock_connection.md)
+* [`mg_unlock_context();`](mg_unlock_context.md)
+* [`mg_websocket_client_write();`](mg_websocket_client_write.md)
+* [`mg_websocket_write();`](mg_websocket_write.md)
+* [`mg_write();`](mg_write.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_lock_context.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_lock_context.md 
b/thirdparty/civetweb-1.10/docs/api/mg_lock_context.md
new file mode 100644
index 0000000..8be6bac
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_lock_context.md
@@ -0,0 +1,23 @@
+# Civetweb API Reference
+
+### `mg_lock_context( ctx );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`struct mg_context *`|The context to put the lock on|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_lock_context()` can be used to acquire a lock for exclusive 
access to resources which are shared between connection of threads. The lock is 
context wide. The lock must be released with a call to 
[`mg_unlock_context()`](mg_unlock_context.md).
+
+### See Also
+
+* [`mg_lock_connection();`](mg_lock_connection.md)
+* [`mg_unlock_connection();`](mg_unlock_connection.md)
+* [`mg_unlock_context();`](mg_unlock_context.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_md5.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_md5.md 
b/thirdparty/civetweb-1.10/docs/api/mg_md5.md
new file mode 100644
index 0000000..067a6a2
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_md5.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### `mg_md5( buf, ... );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`buf`**|`char[33]`|Storage buffer for the calculated MD5 sum|
+|**`...`**|`char *, ...`|NULL terminated list of pointers to strings with data|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`char *`|Pointer to the resulting MD5 string|
+
+### Description
+
+The function `mg_md5()` caluclates the MD5 checksum of a NULL terminated list 
of NUL terminated ASCII strings. The MD5 checksum is returned in human readable 
format as an MD5 string in a caller supplied buffer.
+
+The function returns a pointer to the supplied result buffer.
+
+### See Also

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_modify_passwords_file.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_modify_passwords_file.md 
b/thirdparty/civetweb-1.10/docs/api/mg_modify_passwords_file.md
new file mode 100644
index 0000000..edb5f02
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_modify_passwords_file.md
@@ -0,0 +1,33 @@
+# Civetweb API Reference
+
+### `mg_modify_passwords_file( passwords_file_name, domain, user, password );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`passwords_file_name`**|`const char *`|The path to the passwords file|
+|**`realm`**|`const char *`|The authentication realm (domain) of the user 
record|
+|**`user`**|`const char *`|Username of the record to be added, changed or 
deleted|
+|**`password`**|`const char *`|Password associated with the user or NULL if 
the record must be deleted|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Success or error code|
+
+### Description
+
+The function `mg_modify_passwords_file()` allows an application to manipulate 
.htpasswd files on the fly by adding, deleting and changing user records. This 
is one of the several ways to implement authentication on the server side.
+
+If the password parameter is not `NULL` an entry is added to the password 
file. An existing records is modified in that case. If `NULL` is used as the 
password the enrty is removed from the file.
+
+The function returns 1 when successful and 0 if an error occurs.
+
+### See Also
+
+* 
[`mg_check_digest_access_authentication();`](mg_check_digest_access_authentication.md)
+* 
[`mg_send_digest_access_authentication_request();`](mg_send_digest_access_authentication_request.md)
+
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_option.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_option.md 
b/thirdparty/civetweb-1.10/docs/api/mg_option.md
new file mode 100644
index 0000000..dd7f090
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_option.md
@@ -0,0 +1,31 @@
+# Civetweb API Reference
+
+### `struct mg_option;`
+
+### Fields
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`name`**|`const char *`|Name of the option|
+|**`type`**|`int`|Type of the option|
+|**`default_value`**|`const char *`|Value of the option|
+
+### Description
+
+A list of valid configuration options of the Civetweb instance can be 
retrieved with a call to [`mg_get_valid_options()`](mg_get_valid_options.md). 
This function fills a list of `struct mg_option` structures where the content 
of each structure represents a configuration option. Each structure contains 
three fields. One field contains the name of the option, the second contains 
the value of the option and the third is an identifier used to define the type 
of the option and how the value contents should be interpreted.
+
+The field `type` can be one of the following values:
+
+|Value|Description|
+| :--- | :--- |
+|**`CONFIG_TYPE_UNKNOWN`**|The type of the option value is unknown|
+|**`CONFIG_TYPE_NUMBER`**|The option value is an integer|
+|**`CONFIG_TYPE_STRING`**|The option value is a number|
+|**`CONFIG_TYPE_FILE`**|The option value is a file name|
+|**`CONFIG_TYPE_DIRECTORY`**|The option value is a directory name|
+|**`CONFIG_TYPE_BOOLEAN`**|The option value is a boolean|
+|**`CONFIG_TYPE_EXT_PATTERN`**|The option value is a list of regular 
expression patterns|
+
+### See Also
+
+* [`mg_get_valid_options();`](mg_get_valid_options.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_printf.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_printf.md 
b/thirdparty/civetweb-1.10/docs/api/mg_printf.md
new file mode 100644
index 0000000..8beb9c0
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_printf.md
@@ -0,0 +1,27 @@
+# Civetweb API Reference
+
+### `mg_printf( conn, fmt, ... );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection over which the data must 
be sent|
+|**`fmt`**|`const char *`|Format string|
+|**`...`**|*various*|Parameters as specified in the format string|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`|Number of bytes written or an error code|
+
+### Description
+
+The function `mg_printf()` can be used to send formatted strings over a 
connection. The functionality is comparable to the `printf()` family of 
functions in the standard C library. The function returns **0** when the 
connection has been closed, **-1** if an error occurred and otherwise the 
number of bytes written over the connection. Except for the formatting part, 
the `mg_printf()` function is identical to the function 
[`mg_write()`](mg_write.md).
+
+### See Also
+
+* [`mg_websocket_client_write();`](mg_websocket_client_write.md)
+* [`mg_websocket_write();`](mg_websocket_write.md)
+* [`mg_write();`](mg_write.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_read.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_read.md 
b/thirdparty/civetweb-1.10/docs/api/mg_read.md
new file mode 100644
index 0000000..c7ec6c3
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_read.md
@@ -0,0 +1,26 @@
+# Civetweb API Reference
+
+### `mg_read( conn, buf, len );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`| A pointer referencing the connection |
+|**`buf`**|`void *`| A pointer to the location where the received data can be 
stored |
+|**`len`**|`size_t`| The maximum number of bytes to be stored in the buffer |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`| The number of read bytes, or a status indication |
+
+### Description
+
+The function `mg_read()` receives data over an existing connection. The data 
is handled as binary and is stored in a buffer whose address has been provided 
as a parameter. The function returns the number of read bytes when successful, 
the value **0** when the connection has been closed by peer and a negative 
value when no more data could be read from the connection.
+
+### See Also
+
+* [`mg_printf();`](mg_printf.md)
+* [`mg_write();`](mg_write.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_request_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_request_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_request_info.md
new file mode 100644
index 0000000..cad6bbc
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_request_info.md
@@ -0,0 +1,35 @@
+# Civetweb API Reference
+
+### `struct mg_request_info;`
+
+### Fields
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`request_method`**|`const char *`| The request method used by the client 
for the connection this can be **GET**, **POST** or one of the other common 
HTTP request methods |
+|**`request_uri`**|`const char *`| The absolute, relative or URL-encoded URI 
as it was sent in the request.  Example: 
"http://mydomain.com:8080/path/to/file.ext"; or "/path/to/file.ext", depending 
on the client. |
+|**`local_uri`**|`const char *`| The relative URL-encoded URI as it references 
the local resource. If the request URI does not reference a resource on the 
local server, this field is NULL.  Example: "/path/to/file.ext" (even if the 
client used "http://mydomain.com:8080/path/to/file.ext"; in the request) |
+|~~`uri`~~|`const char *`| *Deprecated. Use* `local_uri` *instead* |
+|**`http_version`**|`const char *`| The HTTP version as mentioned in the 
client request. This can be "1.0", "1.1", etc. |
+|**`query_string`**|`const char *`| The HTTP query string, defined as URL part 
after the first '?' character, not including '?'. NULL if there is no '?'. |
+|**`remote_user`**|`const char *`| The name of the authenticated remote user, 
or NULL if no authentication was used. Only used for HTTP (digest) 
authentication, not for cookie based authentication. |
+|**`remote addr`**|`char[48]`| The IP address of the remote client as a 
string. This can either represent an IPv4 or an IPv6 address.  Example: 
"127.0.0.1" |
+|~~`remote_ip`~~|`long`| *Deprecated. Use* `remote_addr` *instead* |
+|**`content_length`**|`long long`| The content length of the request body. 
This value can be -1 if no content length was provided. The request may still 
have body data, but the server cannot determine the length until all data has 
arrived (e.g. when the client closes the connection, or the final chunk of a 
chunked request has been received). |
+|**`remote_port`**|`int`| The port number at the client's side (an integer 
number between 1 and 65535). |
+|**`is_ssl`**|`int`| 1 if the connection is over SSL (https), and 0 if it is a 
plain connection (http) |
+|**`user_data`**|`void *`| A pointer to the `user_data` information which was 
provided as a parameter to `mg_start()`. |
+|**`conn_data`**|`void *`| A pointer to connection specific user data |
+|**`num_headers`**|`int`| The number of HTTP request headers sent by the 
client (see http_headers) |
+|**`http_headers`**|`struct mg_header[64]`| Array of structures with the HTTP 
request headers sent by the client. For the number of filled header fields, ee 
num_headers. |
+|**`client_cert`**|`struct mg_client_cert *`| Pointer to the client 
certificate information, when available. This field is only filled for https 
connections using client certificates. |
+
+### Description
+
+The `mg_request_info` structure contains the client information of an existing 
connection.
+
+### See Also
+
+* [`struct mg_client_cert;`](mg_client_cert.md)
+* [`struct mg_header;`](mg_header.md)
+* [`mg_get_request_info();`](mg_get_request_info.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_response_info.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_response_info.md 
b/thirdparty/civetweb-1.10/docs/api/mg_response_info.md
new file mode 100644
index 0000000..a348dfc
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_response_info.md
@@ -0,0 +1,38 @@
+# Civetweb API Reference
+
+### `struct mg_response_info;`
+
+### Fields
+
+struct mg_response_info {
+        int status_code;          /* E.g. 200 */
+        const char *status_text;  /* E.g. "OK" */
+        const char *http_version; /* E.g. "1.0", "1.1" */
+
+        long long content_length; /* Length (in bytes) of the request body,
+                                     can be -1 if no length was given. */
+
+        int num_headers; /* Number of HTTP headers */
+        struct mg_header
+            http_headers[MG_MAX_HEADERS]; /* Allocate maximum headers */
+};
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`status code`**|`int`| The HTTP response code received by the client. |
+|**`status_text`**|`const char *`| The textual representation of the HTTP 
status code. |
+|**`http_version`**|`const char *`| The HTTP version as mentioned in the 
client request. This can be "1.0", "1.1", etc. |
+|**`content_length`**|`long long`| The content length of the request body. 
This value can be -1 if no content length was provided. The request may still 
have body data, but the server cannot determine the length until all data has 
arrived (e.g. when the client closes the connection, or the final chunk of a 
chunked request has been received). |
+|**`num_headers`**|`int`| The number of HTTP request headers sent by the 
client (see http_headers) |
+|**`http_headers`**|`struct mg_header[64]`| Array of structures with the HTTP 
request headers sent by the client. For the number of filled header fields, ee 
num_headers. |
+
+Note: This structure is not yet feature complete and will be extended in 
future versions.
+
+### Description
+
+The `mg_response_info` structure contains information on a completed request 
from a client.
+
+### See Also
+
+* [`struct mg_header;`](mg_header.md)
+* [`mg_get_response_info();`](mg_get_response_info.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_send_chunk.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_send_chunk.md 
b/thirdparty/civetweb-1.10/docs/api/mg_send_chunk.md
new file mode 100644
index 0000000..895ffdc
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_send_chunk.md
@@ -0,0 +1,31 @@
+# Civetweb API Reference
+
+### `mg_send_chunk( conn, buf, len );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`| A pointer to the connection to be used 
to send data |
+|**`chunk`**|`const void *`| A pointer to the blob of information to be sent |
+|**`chunk_len`**|`size_t`| The amount of bytes to be sent |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`| An integer indicating the amount of bytes sent, or failure |
+
+### Description
+
+The function `mg_send_chunk()` can be used to send a blob of arbitrary data 
over a connection. 
+Only use this function after sending a complete HTTP request or response 
header with "Transfer-Encoding: chunked" set. Otherwise: use `mg_write()`.
+The function returns a number **>0** if data was sent, the value **0** when 
the connection has been closed, and **-1** in case of an error.
+
+### See Also
+
+* [`mg_write();`](mg_write.md)
+* [`mg_printf();`](mg_print.md)
+* [`mg_lock_connection();`](mg_lock_connection.md)
+* [`mg_unlock_connection();`](mg_unlock_connection.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_send_digest_access_authentication_request.md
----------------------------------------------------------------------
diff --git 
a/thirdparty/civetweb-1.10/docs/api/mg_send_digest_access_authentication_request.md
 
b/thirdparty/civetweb-1.10/docs/api/mg_send_digest_access_authentication_request.md
new file mode 100644
index 0000000..d5af9da
--- /dev/null
+++ 
b/thirdparty/civetweb-1.10/docs/api/mg_send_digest_access_authentication_request.md
@@ -0,0 +1,35 @@
+# Civetweb API Reference
+
+### `mg_send_digest_access_authentication_request( conn, realm );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`| A pointer to the connection to be used 
to send data |
+|**`realm`**|`const char *`| The requested authentication realm or NULL |
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+|`int`| An integer indicating success or failure |
+
+### Description
+
+This function can be used to send a HTTP Digest Authentication request to the 
client.
+Browsers will react with repeating the request with user authentication data.
+If they do not yet know the user authentication for the requested realm, they 
will show
+a dialog to query username and password.
+In case the authentication realm (also called domain) is NULL, the parameter
+`authentication_domain` from the server configuration is used.
+The function returns a negative number on errors.
+
+### See Also
+
+* 
[`mg_check_digest_access_authentication();`](mg_check_digest_access_authentication.md)
+* [`mg_modify_passwords_file();`](mg_modify_passwords_file.md)
+* [`mg_send_http_error();`](mg_send_http_error.md)
+* [`mg_write();`](mg_write.md)
+* [`mg_printf();`](mg_print.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_send_file.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_send_file.md 
b/thirdparty/civetweb-1.10/docs/api/mg_send_file.md
new file mode 100644
index 0000000..bffe075
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_send_file.md
@@ -0,0 +1,25 @@
+# Civetweb API Reference
+
+### `mg_send_file( conn, path );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection over which the file must 
be sent|
+|**`path`**|`const char *`|The full path and filename of the file|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_send_file()` sends the contents of a file over a connection 
to the remote peer. The function also adds the necessary HTTP headers.
+
+### See Also
+
+* [`mg_printf();`](mg_printf.md)
+* [`mg_send_mime_file();`](mg_send_mime_file.md)
+* [`mg_send_mime_file2();`](mg_send_mime_file2.md)
+* [`mg_write();`](mg_write.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_send_http_error.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_send_http_error.md 
b/thirdparty/civetweb-1.10/docs/api/mg_send_http_error.md
new file mode 100644
index 0000000..0c18d3e
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_send_http_error.md
@@ -0,0 +1,32 @@
+# Civetweb API Reference
+
+### `mg_send_http_error( conn, status_code, fmt, ... );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection over which the data must 
be sent|
+|**`status_code`**|`int`|The HTTP status code (see HTTP standard)|
+|**`fmt`**|`const char *`|Format string for an error message|
+|**`...`**|*various*|Parameters as specified in the format string|
+
+### Return Value
+
+| Type | Description |
+| :--- | :--- |
+
+
+### Description
+
+The function `mg_send_http_error()` can be used to send HTTP error messages 
from a server to a client.
+The `status_code` must be one of the predefined HTTP standard error codes 
(e.g., "404" for "Not Found").
+The status text (e.g., "Not Found") for standard error codes is known by this 
function.
+A body of the error message, to explain the error in more detail, can be 
specified using the `fmt` format specifier and additional arguments. The `fmt` 
format specifier works like for the `printf()` function in the standard C 
library.
+
+
+### See Also
+
+* [`mg_printf();`](mg_printf.md)
+* [`mg_write();`](mg_write.md)
+

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file.md 
b/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file.md
new file mode 100644
index 0000000..424b0dc
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file.md
@@ -0,0 +1,27 @@
+# Civetweb API Reference
+
+### `mg_send_mime_file( conn, path, mime_type );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection over which the file must 
be sent|
+|**`path`**|`const char *`|The full path and filename of the file|
+|**`mime_type`**|`const char *`|The mime type of the file, or NULL for 
automatic detection|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_send_mime_file()` sends a file over a connection including 
the HTTP headers. The function is similar to the 
[`mg_send_file()`](mg_send_file.md) with the additional functionality that the 
MIME type of the file can be specified. If the `mime_type` parameter is NULL, 
the routine will try to determine the MIME type based on the extension of the 
filename.
+
+### See Also
+
+* [`mg_get_builtin_mime_type();`](mg_get_builtin_mime_type.md)
+* [`mg_printf();`](mg_printf.md)
+* [`mg_send_file();`](mg_send_file.md)
+* [`mg_send_mime_file2();`](mg_send_mime_file2.md)
+* [`mg_write();`](mg_write.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file2.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file2.md 
b/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file2.md
new file mode 100644
index 0000000..1350df8
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_send_mime_file2.md
@@ -0,0 +1,30 @@
+# Civetweb API Reference
+
+### `mg_send_mime_file2( conn, path, mime_type, additional_headers );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`conn`**|`struct mg_connection *`|The connection over which the file must 
be sent|
+|**`path`**|`const char *`|The full path and filename of the file|
+|**`mime_type`**|`const char *`|The mime type or NULL for automatic detection|
+|**`additional_headers`**|`const char *`|Additional headers to be sent|
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_send_mime_file2()` can be used to send a file over a 
connection. The function is similar to 
[`mg_send_mime_file()`](mg_send_mime_file.md) with the additional functionality 
that user specified headers can be sent. The MIME type of the file can be 
specified in the function call, or will be automatically determined based on 
the extension of the filename if the `mime_type` parameter has the value NULL.
+
+Additional custom header fields can be added as a parameter. Please make sure 
that these header names begin with `X-` to prevent name clashes with other 
headers. If the `additional_headers` parameter is NULL, no custom headers will 
be added.
+
+### See Also
+
+* [`mg_get_builtin_mime_type();`](mg_get_builtin_mime_type.md)
+* [`mg_printf();`](mg_printf.md)
+* [`mg_send_file();`](mg_send_file.md)
+* [`mg_send_mime_file();`](mg_send_mime_file.md)
+* [`mg_write();`](mg_write.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_server_ports.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_server_ports.md 
b/thirdparty/civetweb-1.10/docs/api/mg_server_ports.md
new file mode 100644
index 0000000..e969f03
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_server_ports.md
@@ -0,0 +1,24 @@
+# Civetweb API Reference
+
+### `struct mg_server_ports;`
+
+### Fields
+
+| Field | Type | Description |
+| :--- | :--- | :--- |
+|**`protocol`**|`int`|The protocol mask where `IPv4` is **1**, `IPv6` is **2** 
and both `IPv4` and `IPv6` is **3**|
+|**`port`**|`int`|The port number on which the service listens|
+|**`is_ssl`**|`int`|**0** for `HTTP` communication, **1** for `HTTPS`|
+|**`is_redirect`**|`int`|**1** if all requests are redirected, otherwise **0**|
+|**`_reserved1`**|`int`|Reserved for internal use|
+|**`_reserved2`**|`int`|Reserved for internal use|
+|**`_reserved3`**|`int`|Reserved for internal use|
+|**`_reserved4`**|`int`|Reserved for internal use|
+
+### Description
+
+A call to the function [`mg_get_server_ports()`](mg_get_server_ports.md) 
returns a list of structures with information about each running Civetweb 
service. These structures are of type `struct mg_server_ports` and contain the 
base information of each service.
+
+### See Also
+
+* [`mg_get_server_ports();`](mg_get_server_ports.md)

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/df353561/thirdparty/civetweb-1.10/docs/api/mg_set_auth_handler.md
----------------------------------------------------------------------
diff --git a/thirdparty/civetweb-1.10/docs/api/mg_set_auth_handler.md 
b/thirdparty/civetweb-1.10/docs/api/mg_set_auth_handler.md
new file mode 100644
index 0000000..302324a
--- /dev/null
+++ b/thirdparty/civetweb-1.10/docs/api/mg_set_auth_handler.md
@@ -0,0 +1,30 @@
+# Civetweb API Reference
+
+### `mg_set_auth_handler( ctx, uri, handler, cbdata );`
+
+### Parameters
+
+| Parameter | Type | Description |
+| :--- | :--- | :--- |
+|**`ctx`**|`struct mg_context *`|The context on which the handler must be set|
+|**`uri`**|`const char *`|The URI for the authorization handler|
+|**`handler`**|`mg_authorization_handler`|Callback function doing the actual 
authorization|
+|**`cbdata`**|`void *`|Optional user data|
+
+`int mg_authorization_handler( struct mg_connection *conn, void *cbdata );`
+
+### Return Value
+
+*none*
+
+### Description
+
+The function `mg_set_auth_handler()` hooks an authorization function to an URI 
to check if a user is authorized to visit that URI. The check is performed by a 
callback function of type `mg_authorization_handler`. The callback function is 
passed two parameters: the current connection and a pointer to optional user 
defined data which was passed to `mg_set_auth_handler()` when the callback was 
hooked to the URI.
+
+The callback function can return **0** to deny access, and **1** to allow 
access.
+
+The `mg_set_auth_handler()` function is very similar in use to 
[`mg_set_request_handler()`](mg_set_request_handler.md).
+
+### See Also
+
+* [`mg_set_request_handler();`](mg_set_request_handler.md)

Reply via email to