summaryrefslogtreecommitdiff
path: root/crates/arti-rpcserver/src/connection.rs
Commit message (Collapse)AuthorAgeFilesLines
* rpc: Remove downgrade_owned for nowNick Mathewson2023-05-241-12/+0
| | | | | | | Rationale: Our weak-vs-strong design is a bit confused at the moment due to concerns about deduplication and capability semantics. It's not clear that a general "change strong to weak" method is compatible with what we want to provide.
* rpc: Implement functionality to remove objects from a sessionNick Mathewson2023-05-241-0/+33
| | | | | | | | | | | I've made doing some design choices here: * Reserving "rpc" as a prefix for post-authentication functionality that is not arti-specific. * Declaring these to be methods on the session rather than methods on the objects themselves. There's a problem with defining an API to drop a weak reference; see comment in code.
* rpc: Make the top-level returned object a "session".Nick Mathewson2023-05-241-32/+2
| | | | | | This will make it easier to change the semantics of what exactly we return, whether it has to be/contain a client, whether you can use it to look up all the live objects, &etc.
* rpc: move existing auth code to new module.Nick Mathewson2023-05-231-72/+2
|
* rpc: rename GenIdx::into/try_from implementationsNick Mathewson2023-05-151-3/+3
| | | | | These are about to become nondeterministic-ish and probably shouldn't use the Into/TryFrom traits.
* RPC: Make the "client" return optional.Nick Mathewson2023-05-041-2/+2
|
* RPC: Rename session.rs to connection.rsNick Mathewson2023-05-041-0/+494