Xojo.Net.HTTPSocket.PageReceived
From Xojo Documentation
Event
Xojo.Net.HTTPSocket.PageReceived(URL As Text, HTTPStatus As Integer, content As MemoryBlock)
Supported for all project types and targets.
Supported for all project types and targets.
Called when a new page has been retrieved from the server as a result of calling Send.
Parameters
Parameter | Description |
---|---|
URL | The URL that sent the response. |
HTTPStatus | The HTTP status code. |
content | A MemoryBlock containing the response. This may contain binary or text data. |
Sample Code
Convert incoming JSON content from a MemoryBlock into a Dictionary: