1 # Civetweb API Reference
3 ### `mg_get_response_info( conn );`
7 | Parameter | Type | Description |
9 |**`conn`**|`const struct mg_connection *`|The connection for which the response info is needed|
13 | Type | Description |
15 |`const struct mg_response_info *`|Pointer to the response info, or NULL if an error occurred|
19 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.
21 Use this function when implementing a client.
25 * [`struct mg_response_info;`](mg_response_info.md)
26 * [`mg_connect_client();`](mg_connect_client.md)
27 * [`mg_get_request_info();`](mg_get_request_info.md)
28 * [`struct mg_request_info;`](mg_request_info.md)