| Parameter | Type | Description |
|---|---|---|
conn |
struct httplib_connection * |
Connection to remove the lock from |
none
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.