DotNetLightning


PluginJsonRpcMethodAttribute Type

Marker attribute for the rpc method handler. It is mostly the same with StreamJsonRpc.JsonRpcMethodAttribute Using this instead of StreamJsonRpc.JsonRpcMethodAttribute will affect the startup behavior of the plugin, so that c-lightning will expose the rpc endpoint to users and the call to c-lightning will be bypassed to the plugin. An argument description and longDescription is a message that users will see in a help call to c-lightning.

Constructors

Constructor Description

PluginJsonRpcMethodAttribute(name, ?description, ?longDescription)

Full Usage: PluginJsonRpcMethodAttribute(name, ?description, ?longDescription)

Parameters:
    name : string
    ?description : string
    ?longDescription : string

Returns: PluginJsonRpcMethodAttribute
name : string
?description : string
?longDescription : string
Returns: PluginJsonRpcMethodAttribute

Instance members

Instance member Description

this.Description

Full Usage: this.Description

Returns: string
Returns: string

this.LongDescription

Full Usage: this.LongDescription

Returns: string
Returns: string