One method of a domain binding: a request the shell answers, carrying the named params and replying with the named result.
The request's message type, such as torrent.add.
torrent.add
The field of the reply that holds the result.
The params the method takes, in order.
The method.
bindingMethod('torrent.add', 'ack', 'request'); // { type: 'torrent.add', params: ['request'], reply: true, result: 'ack' } Copy
bindingMethod('torrent.add', 'ack', 'request'); // { type: 'torrent.add', params: ['request'], reply: true, result: 'ack' }
One method of a domain binding: a request the shell answers, carrying the named params and replying with the named result.