CResponse::getContentType
The CResponse::getContentType function retrieve the current value of the ContentType property.
chchar *getContentType();
Return Type
chchar *
Upon successful completion, a string which contains the ContentType value is returned. Otherwise, NULL is returned.
Parameters
None.
Remarks
This function retrieves the current value of the ContentType property of the object. The CResponse::setContentType function can be used to set the content type. The content type of the output of Ch-CGI and Ch-ASP is text/html by default.
See Also
CResponse, CResponse::setContentType
Example