The CResponse::begin function begins to send output. It is mandatory in Ch-CGI and for Ch-CGI only.
Upon successful completion, zero is returned. Otherwise, a value of non-zero is returned.
This function starts processing all headers set in CResponse::set* and CResponse::add*. It is mandatory in Ch-CGI. Any CResponse::set* and CResponse::add* member functions including CResponse::setContentType, CResponse::addCookie, and CResponse::addHeader should be called before this function is called.
Differences Between Ch-CGI and Ch-ASP
This member function is mandatory in Ch-CGI. It is not valid in Ch-ASP.
CResponse, CResponse::end, CResponse::title