Changes between Version 12 and Version 13 of documentation/tools/monitoring/rest
- Timestamp:
- 02/18/12 16:59:25 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/tools/monitoring/rest
v12 v13 70 70 71 71 First the number of arguments will be checked, if they don’t match a empty string will be returned. On returning an empty string the caller will create a error message 404 NOT FOUND and send it to the client. This message can be interpreted by the client, that either the method was not found or there are missing/wrong arguments. 72 After that a XML document is created using boost property tree. 72 After that a XML document is created using boost property tree. The last step is to register this method by calling 73 {{{register_function("/hello_client",(function_call) &function_wrapper::hello_client);}}}. The first argument of this call defines the URL of the call and the second argument is a function pointer to the method. 74 73 75 74 76 {{{