1SCGI.scgiPage(3kaya) Kaya module reference SCGI.scgiPage(3kaya)
2
3
4
6 SCGI::scgiPage - Displays String content
7
9 Void scgiPage( Socket comm, String sdata, [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 sdata The string to output as the content
17
18 headers A list of key-value pairs of HTTP headers
19
21 Displays String content. The scgiPage functions are called automati‐
22 cally by a SCGI webapp based on the return value of webmain and should
23 only be called directly for debugging purposes and when constructing
24 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 SCGI.scgiPage (3kaya) (HTML documents)
38 SCGI.scgiPage_2 (3kaya) (binary data)
39 SCGI.scgiPage_3 (3kaya) (void functions)
40
41
42
43Kaya December 2010 SCGI.scgiPage(3kaya)