rpcMethod

Methods marked with this attribute will be treated as rpc endpoints.

@safe
rpcMethod
(
string method
)

Parameters

method string

RPC method name

Examples

interface IAPI
{
    @rpcMethod("do_submit")
    void submit();
}

Meta