|
|
|
NAME
http_rxml_answer()
LIBRARY
Caudiumlib.
SYNOPSIS inherit "caudiumlib"; mapping http_rxml_answer(string rxml, object id, void|object(StdioFile) file, void|string type); DESCRIPTION
Convenience function to use in Caudium modules and Pike scripts. When you
just want to return a string of data, with an optional type, this is the
easiest way to do it if you don't want to worry about the internal
Caudium structures. This function creates a response mapping
containing the RXML parsed data you send to it.
string rxml
The text to RXML parse and return.
object id
The Caudium request id object.
void|object(Stdio.File) file
An optional file descriptor to return (not completly documented).
void|string type
Optional file type, like text/html or application/octet-stream. Defaulting to text/html.
RETURNS
The HTTP response mapping with the parsed data.
|
|
Copyright © 2000 - 2005
The Caudium Group
All Rights Reserved. Hosting by Kazar.
|
|