Chunked Responses - Sending Intermediate Responses to the Client

Uploaded on May 02, 2019 / 5 views / 28 impressions / 0 comments

alpha01803

More from this user

Description

Normally, when you make an Ajax callback from an UX component, the Xbasic function that handles the callback completes its processing and then returns Javascript to the client. In some uses cases where your Xbasic function takes a "long" time to execute, you might want to send some type of intermediate message to the client telling them that the function is still processing and perhaps letting the user know what stage the function is at.

In order to send back intermediate responses to the client while the Xbasic function is still processing, you can set the Ajax callback to allow chunked responses.

In this video we show how you can configure an Xbasic function to do chunked responses.


Download files: https://www.ajaxvideotutorials.com/V12Videos/chunkedAjax.zip

Tags

  • No tags