Neokernel API

WebServer.getHTMLByCode(Int32, String, String) Method

This method uses the return codes (static final int) in this Class to return a generic response. This method also supports the keepAliveField parameter as well as any extra headers that needs to be included in the generic response.

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

See Also

WebServer Class | com.neokernel.httpd Namespace | WebServer.getHTMLByCode Overload List