Void displayPage(String sdata, [Pair<String, String> ] headers)
Arguments
sdata: The string to output as the contentheaders: A list of key-value pairs of HTTP headers
Usage
Displays String content. The displayPage functions are called
automatically by a webapp based on the return value of
webmain and should only be called directly for debugging
purposes and when constructing custom displayPage
functions.
Related
- displayPage (HTML documents)
- displayPage (binary data)
- displayPage (void functions)