Service.addFunction
- void addFunction(T func)
class Service
void
addFunction
(
string name
bool simple = false
T
)
if (
isCallable!T &&
(name != "*" ||
is(
ReturnType!
T ==
Variant) &&
Parameters!T.length >= 2
&&
is(
Parameters!
T[0] ==
string)
&&
is(
Parameters!
T[1] ==
Variant[])
) )
- void addFunction(T func)
hprose rpc service Service
aliasesconstructorsfunctionspropertiesvariables