Icon TEWBServerSessionProgressEvent

Unit: ewbsession

TEWBServerSessionProgressEvent = procedure (Session:
      TEWBServerSession; const Current: Int64; const Total: Int64; var
      Aborted: Boolean) of object

The TEWBServerSessionProgressEvent event type is used by the TEWBServerSession OnProgress event to indicate the progress of a given session request, such as the request initiated by the TEWBServerSession Authenticate method, while it is executing. It also provides the developer the opportunity to abort the execution of the request.

The Session parameter indicates the server session that triggered the event, the Current parameter indicates the current number of bytes that have been received, and the Total parameter indicates the total number of bytes that will be received when the request completes successfully.

The Aborted variable parameter can be set to True to indicate that the request should be cancelled.
Image