Start an output buffer
lib callCapy
function ob_start(request : capture any)
Description
ob_start() starts an output buffer for the active request.
Output after this call goes to the buffer. Use ob_get, ob_get_close, or ob_close to read or close it.
Parameters
request : the caller's request, captured when omitted
Return Values
This function returns no value.
Example
Capy
ob_start()
print("fragment")
var captured := ob_get_close()
print("captured: ", captured, "\n")
Output
captured: fragment