Stop the application and serve the given $data or use the buffer if non given

request:serve($data=NULL) : VOID

# this function uses the optional given data or the buffer and sends it back to the request client
# this function also sets the response type and logs the request data
# note: if you provide $data then buffer is going to be ignored completely

Copyright ©2013-2022 SunSed®. All rights reserved.