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

620 B

LibHTTP API Reference

mg_set_user_connection_data( conn, data );

Parameters

Parameter Type Description
conn struct mg_connection * connection to add the user data
data void * Pointer to the user data

Return Value

none

Description

The function mg_set_user_connection_data() can be used to add or change the user data pointer attached to a connection. Using the value NULL in the call will remove a previously assigned user data pointer.

See Also