Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Arti
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Arti
Merge requests
!2110
rpc: Implement get-client-status and watch-client-status
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
rpc: Implement get-client-status and watch-client-status
nickm/arti:status_methods
into
main
Overview
25
Commits
8
Pipelines
5
Changes
8
Merged
Nick Mathewson
requested to merge
nickm/arti:status_methods
into
main
10 months ago
Overview
23
Commits
8
Pipelines
5
Changes
8
Expand
Closes
#1384 (closed)
0
0
Merge request reports
Compare
main
version 4
cf9214cf
10 months ago
version 3
081fd1ff
10 months ago
version 2
8abe8974
10 months ago
version 1
4f7fa048
10 months ago
main (base)
and
latest version
latest version
1bc4064c
8 commits,
10 months ago
version 4
cf9214cf
8 commits,
10 months ago
version 3
081fd1ff
11 commits,
10 months ago
version 2
8abe8974
10 commits,
10 months ago
version 1
4f7fa048
3 commits,
10 months ago
8 files
+
197
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
crates/arti/src/rpc.rs
+
5
−
0
Options
@@ -38,6 +38,11 @@ pub(crate) fn launch_rpc_listener<R: Runtime>(
let
listener
=
UnixListener
::
bind
(
path
)
?
;
let
rpc_mgr
=
RpcMgr
::
new
(
move
|
_auth
|
RpcSession
::
new_with_client
(
Arc
::
new
(
client
.isolated_client
())));
// Register methods. Needed since TorClient is generic.
//
// TODO: If we accumulate a large number of generics like this, we should do this elsewhere.
rpc_mgr
.register_rpc_methods
(
TorClient
::
<
R
>
::
rpc_methods
());
let
rt_clone
=
runtime
.clone
();
let
rpc_mgr_clone
=
rpc_mgr
.clone
();
Loading