mirror of
https://github.com/lammertb/libhttp.git
synced 2025-04-19 11:02:13 +03:00
23 lines
649 B
Markdown
23 lines
649 B
Markdown
# LibHTTP API Reference
|
|
|
|
### `httplib_set_user_connection_data( conn, data );`
|
|
|
|
### Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| :--- | :--- | :--- |
|
|
|**`conn`**|`struct httplib_connection *`|connection to add the user data|
|
|
|**`data`**|`void *`|Pointer to the user data|
|
|
|
|
### Return Value
|
|
|
|
*none*
|
|
|
|
### Description
|
|
|
|
The function `httplib_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
|
|
|
|
* [`httplib_get_user_connection_data();`](httplib_get_user_connection_data.md)
|