Skip to main content

Module session

Module session 

Source
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.
GetSuperuserCapability πŸ”’
Return the superuser capability for a session.
RemoveSuperuserPermission πŸ”’
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_capability on RpcSession.
isolated_client_on_session πŸ”’
Implement IsolatedClient on an RpcSession.
remove_superuser_permission_on_session πŸ”’
Implement arti::remove_superuser_permission on 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