]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/docs/api/mg_websocket_subprotocols.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_websocket_subprotocols.md
CommitLineData
1e59de90
TL
1# Civetweb API Reference
2
3### `struct mg_websocket_subprotocols;`
4
5### Fields
6
7| Field | Type | Description |
8| :--- | :--- | :--- |
9|**`nb_subprotocols`**|`int`| Number of websocket sub-protocol names following (>=0). |
10|**`subprotocols`**|`const char **`| Array of websocket sub-protocol names (nb_subprotocols elements). |
11
12### Description
13
14The structure `mg_websocket_subprotocols` is used to specify websocket sub-protocols supported by a websocket handler function.
15
16### See Also
17
18* [`mg_set_websocket_handler_with_subprotocols();`](mg_set_websocket_handler_with_subprotocols.md)