]> git.proxmox.com Git - ceph.git/blob - ceph/src/civetweb/docs/api/mg_get_response_code_text.md
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / civetweb / docs / api / mg_get_response_code_text.md
1 # Civetweb API Reference
2
3 ### `mg_get_response_code_text( conn, response_code );`
4
5 ### Parameters
6
7 | Parameter | Type | Description |
8 | :--- | :--- | :--- |
9 |**`conn`**|`struct mg_connection *`| A pointer referencing the connection |
10 |**`response_code`**|`int`| Response code for which the text is queried |
11
12 ### Return Value
13
14 | Type | Description |
15 | :--- | :--- |
16 |`const char *`| A pointer to a human readable text explaining the response code. |
17
18 ### Description
19
20 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.
21
22 ### See Also
23
24 * [`mg_get_builtin_mime_type();`](mg_get_builtin_mime_type.md)
25 * [`mg_version();`](mg_version.md)