1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-13 12:42:25 +03:00
Files
libhttp/docs/api/mg_close_connection.md
2016-11-15 20:04:22 +01:00

587 B

LibHTTP API Reference

mg_close_connection( conn );

Parameters

Parameter Type Description
conn struct mg_connection * The connection which must be closed

Return Value

none

Description

The function mg_close_connection() is used to close a connection which was opened with the mg_download() function. Use of this function to close a connection which was opened in another way is undocumented and may give unexpected results.

See Also