]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/docs/api/mg_client_options.md
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / docs / api / mg_client_options.md
1 # Civetweb API Reference
2
3 ### `struct mg_client_options;`
4
5 ### Fields
6
7 | Field | Type | Description |
8 | :--- | :--- | :--- |
9 |**`host`**|`const char *`|The hostname or IP address to connect to|
10 |**`port`**|`int`|The port on the server|
11 |**`client_cert`**|`const char *`|Pointer to client certificate|
12 |**`server_cert`**|`const char *`|Pointer to a server certificate|
13
14 ### Description
15
16 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.
17
18 ### See Also
19
20 * [`mg_check_feature();`](mg_check_feature.md)
21 * [`mg_connect_client_secure();`](mg_connect_client_secure.md)