1# Civetweb API Reference 2 3### `mg_get_response_info( conn );` 4 5### Parameters 6 7| Parameter | Type | Description | 8| :--- | :--- | :--- | 9|**`conn`**|`const struct mg_connection *`|The connection for which the response info is needed| 10 11### Return Value 12 13| Type | Description | 14| :--- | :--- | 15|`const struct mg_response_info *`|Pointer to the response info, or NULL if an error occurred| 16 17### Description 18 19The 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. 20 21Use this function when implementing a client. 22 23### See Also 24 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) 29 30