1Webapp.displayPage(3kaya) Kaya module reference Webapp.displayPage(3kaya)
2
3
4
6 Webapp::displayPage - Displays binary data
7
9 Void displayPage( Binary bdata, [Pair<String, String> ] headers )
10
12 bdata The binary block containing the content
13
14 headers A list of key-value pairs of HTTP headers
15
17 Displays binary data (for example an Image). The displayPage functions
18 are called automatically by a webapp based on the return value of web‐
19 main and should only be called directly for debugging purposes and when
20 constructing custom displayPage functions.
21
22 The Image module contains its own displayPage function for image data,
23 so you do not need to use this function.
24
26 Kaya standard library by Edwin Brady, Chris Morris and others
27 (kaya@kayalang.org). For further information see http://kayalang.org/
28
30 The Kaya standard library is free software; you can redistribute it
31 and/or modify it under the terms of the GNU Lesser General Public
32 License (version 2.1 or any later version) as published by the Free
33 Software Foundation.
34
36 Binary.Binary (3kaya)
37 Image(3kaya)
38 Webapp.displayPage (3kaya) (HTML documents)
39 Webapp.displayPage_1 (3kaya) (string data)
40 Webapp.displayPage_3 (3kaya) (void functions)
41
42
43
44Kaya December 2010 Webapp.displayPage(3kaya)