Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

OperationArgument

Metadata for a callable operation.

API

Metadata for a callable operation. Payload values remain codec independent.

Namespace: TEMPEST.

#include <tempest/Peer.h>

Declaration

struct OperationArgument {
    std::string name;
    std::string type;
    std::string description;
    bool required = false;
    std::optional<Value> default_value;
    std::vector<Value> choices;
};