webmcp

view framework/env/request/is_in_progress.lua @ 492:93ebbc1e5dbc

Allow actions to directly return content (e.g. for XMLHttpRequests) by calling slot.set_layout(...) during request handling
author jbe
date Tue Jun 27 17:34:02 2017 +0200 (2017-06-27)
parents
children
line source
1 --[[--
2 bool = -- true, if a request is currently in progress (i.e. being answered)
3 request.is_in_progress()
5 This function can be used to check if a request is currently in progress. Returns false during configuration.
7 --]]--
9 function request.is_in_progress()
10 return request._in_progress
11 end

Impressum / About Us