Libhttp API Reference

December 13, 2016 ยท View on GitHub

httplib_unlock_connection( conn );

Parameters

ParameterTypeDescription
connstruct 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.

See Also