Back to product page

Done event


Fires when wodHttpDLX completes request.

Syntax

  • Basic
Private Sub object_Done(ErrorCode, ErrorText)
The Done(object,ErrorCode,ErrorText) syntax has these parts:
objectA wodHttpDLX object.
ErrorCodeA Long value. Holds error number that occured, if any.
ErrorTextA String value. Holds text description of the error.

Remarks

This event is fired when a data request completes. If the ErrorCode parameter is zero, the operation completed correctly. If the ErrorCode is not zero, then the ErrorText parameter specifies shows text description of error that occurred.

This is the event that will declare your request as finished. From this event you can issue new request, print out the results in Response.Body, check Response.Status if your request was successful etc.

If you did not call Connect method manually, then wodHttpDLX will disconnect from the server as soon as you leave from this event - unless you make new request using Get, Post...

Platforms

Windows