Changes

Jump to navigation Jump to search
10 bytes removed ,  09:42, 7 February 2016
{{Mark|Introduced with Version 8.4}}: <code>%rest:single</code> annotation.
In many RESTXQ search scenarios, input from browser forms is processed and search results are returned. User experience can generally be made more interactive if an updated search request is triggered with each key click. However, such search patterns this may lead to numerous many expensive parallel requests, from which only the result of the last request will be relevant for the client.
With the <code>%rest:single</code> annotation, it can be enforced that only one instance of a function will be executed for the same client. If the same function will be called for the second time, the already running query will be stopped, and the HTTP error code {{Code|410}} (Gone) will be returned instead:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu