EVRPC_REGISTER

register RPCs with the HTTP Server

registers a new RPC with the HTTP server, each RPC needs to have a unique name under which it can be identified.

@param base the evrpc_base structure in which the RPC should be registered. @param name the name of the RPC @param request the name of the RPC request structure @param reply the name of the RPC reply structure @param callback the callback that should be invoked when the RPC is received. The callback has the following prototype void (*callback)(EVRPC_STRUCT(Message)* rpc, void* arg) @param cbarg an additional parameter that can be passed to the callback. The parameter can be used to carry around state.

extern (C) nothrow
template EVRPC_REGISTER (
string base
string name
string request
string reply
string callback
string cbarg
) {}

Members

Manifest constants

EVRPC_REGISTER
enum EVRPC_REGISTER;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta