CodeIgniter Forums
XmlRPC How can the client get the HTTP response code? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: XmlRPC How can the client get the HTTP response code? (/showthread.php?tid=30056)



XmlRPC How can the client get the HTTP response code? - El Forum - 05-01-2010

[eluser]Hartimer[/eluser]
My XmlRPC server and client are all working fine, they exchange data as they should.
However i haven't find out a way to retrieve the HTTP code from the response yep..

The server side has a "send_error_message" function, but on the client-side there is no "get_error_message" or "get_status_code" functions for instance...

I'm trying to use CodeIgniter as a Google Web Toolkit backend, and as such HTTP response codes would be a nice, clean way to throw "exceptions"...
I don't know if it is the best way to communicate between CI + GWT (suggestions welcomed).

NOTE: Both server and client as of now are CodeIgniter controllers! I'm not using GWT yep, only after testing