Expand description
High-level APIs for an RPC session
A βsessionβ is created when a user authenticates on an RPC connection. It is the root for all other RPC capabilities.
ModulesΒ§
- list_
all_ πmethods
StructsΒ§
- GetClient π
- Return the default client for a session.
- GetSuperuser
Capability π - Return the superuser capability for a session.
- Remove
Superuser πPermission - Remove the superuser permission from a session.
- RpcSession
- An authenticated RPC session: a capability through which most other RPC functionality is available
TraitsΒ§
- Client π
- Type-erased
TorClient, as used within an RpcSession.
FunctionsΒ§
- get_
client_ πon_ session - Implement GetClient on an RpcSession.
- get_
superuser_ πcapability_ on_ session - Implement
arti::get_superuser_capabilityon RpcSession. - isolated_
client_ πon_ session - Implement IsolatedClient on an RpcSession.
- remove_
superuser_ πpermission_ on_ session - Implement
arti::remove_superuser_permissionon RpcSession. - session_
connect_ πwith_ prefs - Implement ConnectWithPrefs on an RpcSession
- session_
resolve_ πptr_ with_ prefs - Implement ResolvePtrWithPrefs on an RpcSession
- session_
resolve_ πwith_ prefs - Implement ResolveWithPrefs on an RpcSession