Documentation Index

CPAINT :: Cross-Platform Asynchronous INterface Toolkit

Frontend: cpaint.set_response_type()

cpaint Method Summary

void set_debug()
void set_proxy_url()
void set_transfer_mode()
void set_async()
void set_response_type()
void set_persistent_connection()
void set_use_cpaint_api()
void set_auth_user()
void set_auth_pass()
void call()

cpaint Property Summary

boolean capable

void set_response_type ( string response_type )

defines the response type.

Class

cpaint

Parameters

» string response_typeresponse type to use (TEXT|XML|OBJECT)

Return Value

» void

API Tags

» Access: public

Default Value

» OBJECT

Description

Defines which response type the backend will use and which dataformat will be handed over to the callback function of your application: