Changes between Version 23 and Version 24 of GuiRpcProtocol
- Timestamp:
- Sep 11, 2008, 6:12:34 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GuiRpcProtocol
v23 v24 9 9 10 10 The protocol is based on XML, and it's strictly request-reply. The client sends requests to the server, and waits for a reply; the server never sends anything without getting a request from the client first. Both requests and replies are terminated with the control character `0x03`. 11 12 Self-closing tags must not have a space before the slash, or current client and server will not parse it correctly. For example, send {{{<authorized/>}}}, not {{{<authorized />}}}. 11 13 12 14 Requests are inside `<boinc_gui_rpc_request>` elements, and replies from the RPC server are inside `<boinc_gui_rpc_reply>` elements (in both cases there is a `0x03` byte after the closing tag). The current RPC server implementation doesn't require the `<boinc_gui_rpc_request>` tag, which is handy for debugging (you can connect via [http://netcat.sourceforge.net/ netcat] and just type `<auth1/>`); however, clients must not rely on this, and must always send the `<boinc_gui_rpc_request>` root tag.