summaryrefslogtreecommitdiff
path: root/crates/arti-client/src/rpc.rs
Commit message (Collapse)AuthorAgeFilesLines
* RPC: Require an Error type in methods.Nick Mathewson2024-05-161-0/+3
| | | | | | | | This is needed so that we can cast special methods' return types properly. I wish I could make this optional, but Rust doesn't allow defaulting an associated type.
* RPC: Use RPC method names in a consistent format.Nick Mathewson2024-05-141-3/+3
| | | | | Specifically, we want a single colon, and we want our method names to be in snake_case.
* RPC: Add notes about ClientConnectionTargetNick Mathewson2024-05-141-0/+7
| | | | | Document its relation to the method system, and possible future evolution.
* RPC: Require DynClone for ClientConnectionError.Nick Mathewson2024-05-141-3/+5
|
* RPC: Seal ClientConnectionError.Nick Mathewson2024-05-141-2/+19
|
* RPC: RpcDataStream type to act as a "stream-shaped hole"Nick Mathewson2024-05-141-0/+5
| | | | | | | | | The application creates these, using a new-stream-handle RPC command, on an object that can actually create streams. Then later, the application provides the (global) identity of one of these objects when it's making a SOCKS connection. This causes the object to take hold of a `DataStreamCtrl`.
* RPC: Add a trait that can be the target of SOCKS requestsNick Mathewson2024-05-121-3/+79
| | | | | | | | | | | | (These will later become objects that can receive any application request, once we have HTTP connect.) For now, Session and TorClient implement this trait; but soon there will be a new type to hold on to the created DataStreamCtrl. There are some XXXXs here, marking code that is too ugly to live. I should fix it before I merge this branch.
* rpc: Add an isolated-client method on TorClient.Nick Mathewson2024-05-091-2/+26
|
* Add requisite RPC method name prefixesNick Mathewson2024-05-061-2/+2
|
* TorClient: Slightly cleaner (?) interface for registering RPC methods.Nick Mathewson2024-05-061-4/+4
|
* Add a note about declaring get and watch functions.Nick Mathewson2024-05-061-0/+6
|
* Add a note about why the RPC functions aren't declared as methods.Nick Mathewson2024-05-061-0/+5
|
* RPC: Send "null" for blockage rather than omitting it.Nick Mathewson2024-05-061-2/+1
|
* Lightly simplify the syntax for installing multiple InvokerEntsNick Mathewson2024-05-061-2/+4
|
* RPC: Implement methods to get and watch client bootstrap status.Nick Mathewson2024-05-061-0/+103