HAMcast developers

Changes between Version 12 and Version 13 of documentation/tools/monitoring/rest


Ignore:
Timestamp:
02/18/12 16:59:25 (13 years ago)
Author:
zagaria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/tools/monitoring/rest

    v12 v13  
    7070
    7171First 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.
     72After 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
    7375
    7476{{{