MCPcopy Create free account
hub / github.com/ElementsProject/lightning / register_handler

Method register_handler

plugins/lsps-plugin/src/core/server.rs:94–96  ·  view source on GitHub ↗
(&self, _router: &mut JsonRpcRouterBuilder)

Source from the content-addressed store, hash-verified

92
93 impl LspsProtocol for MockProtocol {
94 fn register_handler(&self, _router: &mut JsonRpcRouterBuilder) {
95 // No-op, we just care about protocol number
96 }
97
98 fn protocol(&self) -> u8 {
99 self.0

Callers 1

with_protocolMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected