mirror of
https://github.com/lammertb/libhttp.git
synced 2025-04-19 11:02:13 +03:00
1.0 KiB
1.0 KiB
Libhttp API Reference
httplib_unlock_connection( conn );
Parameters
Parameter | Type | Description |
---|---|---|
conn |
struct httplib_connection * |
Connection to remove the lock from |
Return Value
none
Description
The function httplib_unlock_connection()
removes the lock on a connection which was previously set with a call to httplib_lock_connection()
. Locking may be necessary when using httplib_write()
or httplib_printf()
on websocket connections to prevent data corruption.