summaryrefslogtreecommitdiff
path: root/crates/arti/src/rpc/session.rs
Commit message (Collapse)AuthorAgeFilesLines
* rpc: add mandatory delegate-type attribute to Object templateNick Mathewson2024-09-241-1/+4
| | | | | | | When specifying a delegation, the template user must also say what type they're delegating to. We're going to use this to document and expose delegations.
* arti/rpclib: Tweak proxy_info format.Nick Mathewson2024-09-091-1/+3
| | | | | | | Renamed address to tcp_address, and made it optional, so that later we can have a unix_path, etc. On deser side, add support for unrecognized listener types.
* rpc: Use MockRuntime for set_proxy_info test.Nick Mathewson2024-08-281-2/+2
|
* rpc: Add a test for setting proxy info.Nick Mathewson2024-08-281-0/+40
|
* rpc: Try another incantation for watching for ProxyInfo.Nick Mathewson2024-08-281-13/+7
|
* rpc: Add another layer of indirection on proxyinfoNick Mathewson2024-08-281-1/+3
|
* rpc: Try using postage::watch to initialize ProxyInfo.Nick Mathewson2024-08-281-16/+63
| | | | | (This is a bit trickier than I would like, but it ensures that we never return a "not initialized yet" code.)
* RPC: Add experimental method to list SOCKS proxies.Nick Mathewson2024-08-281-5/+32
| | | | | | | We'll need this for our rpc-library code to meaningfully open SOCKS connections. Closes #1523.
* arti: Define a new ArtiRpcSession type.Nick Mathewson2024-08-281-0/+69
This type exists in the `arti` crate. It wraps and delegates to `arti_rpcserver::RpcSession`. Subsequent commits will use it to expose information from the `arti` crate to the RPC system; right now it does nothing.