These functions would be great:
AWS_refresh(); - Refresh the page using the current url.
AWS_getHTML(%index); - Return the line at the requested index
AWS_getLineCount(); - Return the index count (aka the amount of lines in the document)
AWS_getURL(); - Return the current URL
AWS_setHTML(%index,%html); - Set the line at the requested index
AWS_onDoneLoading() - Called when the page is done loading
AWS_onRedirect(%url) - Called when the page redirects (either by a redirect header or just via a link). Includes the link that we're redirecting to.
AWS_isDoneLoading() - Returns whether or not the page is still being loaded.
AWS_onLine(%line) - Similar to TCPObject's onLine method. When a line is received while the page is loading, it calls this w/ the line we received.
Example of loading a webpage:
step1. call AWS_onRedirect(%url)
step2. call AWS_onLine(%line) while we receive data (includes header data if possible)
step3. call AWS_onDoneLoading()