ark::serialization::RpcDeclaration

Defined in header “ark/serialization/rbuf_types.hh”.


An API function declaration is used to define a function within a service (a RPC).

Variables

  • std::string input_type
    The fully-qualified input type (or void if there is none).

  • std::string output_type
    The fully-qualified output type (or void if there is none).

  • std::string name
    The name of the RPC.

  • std::map< std::string, std::string > options
    A mapping of keys to values (for endpoints, for example).

  • std::vector< std::string > comments
    A list of comments for this RPC declaration.