Indy 9
|
TOnCreateSession = procedure (ASender: TIdPeerThread; var VHTTPSession: TIdHTTPSession) of object;
The HTTP server implementation must assign a procedure to TIdHTTPServer.OnCreateSession to allow responding to the event notification, or TIdHTTPServer.SessionList will be used to retrieve or create the HTTP session for the client thread.