Marker attribute for the rpc handler to be an subscription handler.
Using this instead of PluginJsonRpcMethod
will affect the behavior of the
getmanifest
, so that c-lightning does not expose the method to users.
Instead, c-lightning will send a notification topic to the handler with
this attribute.
pass the topic name of an argument to this attribute.
Constructor | Description |
Full Usage:
PluginJsonRpcSubscriptionAttribute(topic)
Parameters:
string
Returns: PluginJsonRpcSubscriptionAttribute
|
|
Instance member | Description |
Full Usage:
this.Topic
Returns: string
|
|