pub fn receive_response_body(body: bool)
Expand description
Determines whether the on_response_body_decision
handler will be called with a response body or not.
The bulwark_plugin
macro will automatically call this function
within an auto-generated on_init
handler. Normally, plugin authors do not need to call it directly.
However, the default may be overriden if a plugin intends to cancel processing of the response body despite
having a handler available for processing it.
However, if the on_init
handler is replaced, this function will need to be called manually. Most plugins
will not need to do this.