Void scgiPage(Socket comm, Binary bdata, [Pair<String, String> ] headers)
Arguments
comm: The SCGI program's data output socket. All output data should be written to this socket.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 scgiPage functions are called
automatically by a SCGI webapp based on the return value of
webmain and should only be called directly for debugging
purposes and when constructing custom scgiPage
functions.
Related
- Binary::Binary
- Image
- scgiPage (HTML documents)
- scgiPage (string data)
- scgiPage (void functions)