Kaya 0.5.2 reference for Webapp::displayPage

List of functions and data types in Webapp

Void displayPage(Binary bdata, [Pair<String, String> ] headers)

Arguments

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

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya