1SCGI.scgiPage(3kaya) Kaya module reference SCGI.scgiPage(3kaya)
2
3
4
6 SCGI::scgiPage - Displays binary data
7
9 Void scgiPage( Socket comm, Binary bdata, [Pair<String, String> ] head‐
10 ers )
11
13 comm The SCGI program's data output socket. All output data should be
14 written to this socket.
15
16 bdata The binary block containing the content
17
18 headers A list of key-value pairs of HTTP headers
19
21 Displays binary data (for example an Image). The scgiPage functions are
22 called automatically by a SCGI webapp based on the return value of web‐
23 main and should only be called directly for debugging purposes and when
24 constructing custom scgiPage functions.
25
27 Kaya standard library by Edwin Brady, Chris Morris and others
28 (kaya@kayalang.org). For further information see http://kayalang.org/
29
31 The Kaya standard library is free software; you can redistribute it
32 and/or modify it under the terms of the GNU Lesser General Public
33 License (version 2.1 or any later version) as published by the Free
34 Software Foundation.
35
37 Binary.Binary (3kaya)
38 Image(3kaya)
39 SCGI.scgiPage (3kaya) (HTML documents)
40 SCGI.scgiPage_1 (3kaya) (string data)
41 SCGI.scgiPage_3 (3kaya) (void functions)
42
43
44
45Kaya December 2010 SCGI.scgiPage(3kaya)