IsxGames onHTTPResponse¶
- Table of contents
- IsxGames onHTTPResponse
- Syntax
- Notes
- Testing
Syntax¶
isxGames_onHTTPResponse(int Size, string URL, string IPAddress, int ResponseCode, float TransferTime, string ResponseText, string ParsedBody)
Notes¶
- This event only fires for responses that occur due to the "GetURL" command being utilized
- Size is in bytes
- "URL" should match the URL issued with the "GetURL" command (unless modified by the server)
- "ResponseText" is the entire response text unparsed (ie, including all html/xml tags)
- "ParsedBody" will return the plain text of the
section of an html document. However, at this time it only works for simple documents with only plain text between the
tags. I will be improving upon this in the future.
Testing¶
You can test the new GetURL command with this event with either of the following URLS: https://www.isxgames.com/libcurltest.html http://www.isxgames.com/libcurltest.html