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.