NEWS.md
set_logger()
and send messages to the log with log()
. Logging is automatically delayed so it doesn’t slow down request and message handling (#18).access_log_format
field to define how requests are logged.is_running()
method to query the state of the server.?delay_doc
Fire$new()
now takes a port and host argument to set these fields on initialisation. (fixes #5)arg_list
argument rather than as single arguments.reqres
Request and Response classes for handling http exchange.attach()
now expect a on_attach()
method rather than a onAttach()
method from the plugin. It also expects a name
field and optionally a require
fieldheader
event now expect handlers to return a logical, with TRUE
indicating further processing, and FALSE
indicating termination.block = FALSE
making the two run modes identical in their life cycle events.after-request
event will no longer pass the response to handlers. This can be retrieved from the request
object.root
field to access and change the root location.close_ws_con()
method.refreshRate
-> refresh_rate
, triggerDir
-> trigger_dir
.sequential
futures with lazy = TRUE
because previously used lazy
futures are deprecatedfake_request
to generate fake, rook-compliant, request objects. Useful for testingheader
method to Fire
for setting global header policiesFutureStack
class and subclasses to capture expressions for later, timed, and async evaluationdelay
, remove_delay
, time
, remove_time
, async
, and remove_async
methods to Fire
for adding delayed, timed, and async expressions for evaluation