Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Backend: cpaint.return_data()

cpaint Method Summary

boolean register()
boolean unregister()
void start()
void return_data()
object add_node()
void set_data()
mixed get_data()
void set_id()
string get_id()
void set_attribute()
string get_attribute()
void set_name()
string get_name()
string get_response_type()

void return_data ()

Returns the response.



Return Value

» void

API Tags

» Access: public


This method will generate a response based on cpaint.set_response_type() from the CPAINT frontend and print it to STDOUT so the CPAINT frontend receives it as HTTP body for further processing.

This method needs to be called after cpaint.start() has been called and after your application has finished shutting down.