# Civetweb API Reference ### `mg_close_connection( conn );` ### Parameters | Parameter | Type | Description | | :--- | :--- | :--- | |**`conn`**|`struct mg_connection *`|The connection which must be closed| ### Return Value *none* ### Description ### See Also * [`mg_download();`](mg_download.md)