Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ build
Method
build
plugins/lsps-plugin/src/core/router.rs:97–101 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
95
}
96
97
pub fn build(self) -> JsonRpcRouter {
98
JsonRpcRouter {
99
handlers: self.handlers,
100
}
101
}
102
}
103
104
/// Generic JSON-RPC 2.0 router
Callers
7
dispatches_to_registered_handler_and_returns_success
Function · 0.45
returns_none_for_notification
Function · 0.45
unknown_method_returns_method_not_found
Function · 0.45
invalid_json_returns_parse_error_with_null_id
Function · 0.45
wrong_jsonrpc_version_returns_invalid_request
Function · 0.45
bad_params_return_invalid_params_error
Function · 0.45
methods_returns_registered_method_names
Function · 0.45
Calls
no outgoing calls
Tested by
1
methods_returns_registered_method_names
Function · 0.36