Void displayPage(Binary bdata, [Pair<String, String> ] headers)
Arguments
bdata: The binary block containing the contentheaders: A list of key-value pairs of HTTP headers
Usage
Displays binary data (for example an Image). 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.
The Image module contains its own displayPage function for image data, so you do not need to use this function.
Related
- Binary::Binary
- Image
- displayPage (HTML documents)
- displayPage (string data)
- displayPage (void functions)