Internet Direct (Indy)
Home
PreviousUpNext
TIdHTTPSession.Unlock Method

Disables resource protection for the HTTP session.

Pascal
procedure Unlock;

Unlock is a procedure used to remove resource protect for properties and methods in the HTTP session following a call to Lock

Unlock uses the TIdCriticalSection instance allocated in Create. Unlock exits the TCriticalSection used to prevent multi-threaded access to the object instance properties and methods. 

Use Lock to enable resource protection for the HTTP session.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.