Re: [basex-talk] Streaming results

2018-04-20 Thread Christian Grün
irsten, Dirk > Verzonden: vrijdag 20 april 2018 9:13 > Aan: Christian Grün > CC: Bram Vanroy ; BaseX > > Onderwerp: Re: [basex-talk] Streaming results > > > > Hi Bram, hi Christian, > > > > I am surprised, I would have expected you to point to the upcoming websock

Re: [basex-talk] Streaming results

2018-04-20 Thread Bram Vanroy
, Dirk Verzonden: vrijdag 20 april 2018 9:13 Aan: Christian Grün CC: Bram Vanroy ; BaseX Onderwerp: Re: [basex-talk] Streaming results Hi Bram, hi Christian, I am surprised, I would have expected you to point to the upcoming websocket implementation (see https://github.com/BaseXdb/basex/issues

Re: [basex-talk] Streaming results

2018-04-20 Thread Kirsten, Dirk
Hi Bram, hi Christian, I am surprised, I would have expected you to point to the upcoming websocket implementation (see https://github.com/BaseXdb/basex/issues/1449)? To me the scenario described by Bram seems like a perfect fit for websockets, where you simply subscribe to such a generator and

Re: [basex-talk] Streaming results

2018-04-19 Thread Christian Grün
Hi Bram, There is no comparable feature in BaseX right now. But maybe it’s already helpful for you to know that all server-side results will always be streamed to the output stream of the HTTP response. As a result, it can easily happen that the client has received the first 10 results while the s

[basex-talk] Streaming results

2018-04-19 Thread Bram Vanroy
Dear list I am curious to find out whether it is possible to stream results of a query, i.e. where a submitted query behaves as a generator. Especially for web interfaces this is useful: a user is presented with a result as soon as it is found, and doesn't have to wait for all results to be gat