Neokernel API

HTMLResponseInterface.getHTMLByCode Method

Returns default HTTP response header and body based off of the response code constant and include the given keep alive field and given extra headers in the header. If the keepAliveField and/or extraHeaders are null, they are not to be included in the response header.

string getHTMLByCode(
   int code,
   string keepAliveField,
   string extraHeaders
);

See Also

HTMLResponseInterface Interface | com.neokernel.httpd Namespace