Server Push via web-socket testing using sampler

I am trying to use the “GitHub - cuba-platform/sampler: CUBA Platform Components Sampler https://demo.cuba-platform.com/sampler” project to test the “Server Push via web-socket”, but not able to make it work. Can you give me some help here?

I am using the com.haulmont.sampler.web.ui.charts.charts.incrementalupdate.line sampler with Chrome browser.

Thank you!

Hi,

Could you explain what have you done and what doesn’t work for you?

Hi,

For the sampler “Charts/Incremental Update/Line Chart”, it is using XHR to keep pulling data.
Is there anyway that we can have it changed into using web-socket channel directly but keep building new http request.

Thank you.