| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | rpc: Split Method into DynMethod and Method | Nick Mathewson | 2023-04-19 | 3 | -23/+60 | |
| | | | | | | Now `Method` has an Output and Update associated type, and `decl_method` can do a little more. | |||||
| * | rpc: simplify API by always providing a sink. | Nick Mathewson | 2023-04-16 | 1 | -19/+12 | |
| | | | | | | Previously we have two places where we had to do "make a `Drain` sink if updates aren't wanted"; now there's only one. | |||||
| * | rpc: Wire updates into rpc invoke functions again. | Nick Mathewson | 2023-04-16 | 1 | -12/+43 | |
| | | | | | | | | | Now that the sink is not part of the context, RPC functions that are able to send an update have to declare an `impl Sink` as their fourth argument. This syntax is not final. Part of #824. | |||||
| * | rpc: Move update sink out of context. | Nick Mathewson | 2023-04-16 | 2 | -46/+26 | |
| | | | | | | Now the update sink is its own boxed object. It is not yet passed to the invoke functions that want it. | |||||
| * | rpc, spec: Document current ObjectError, RequestError behavior as correct. | Nick Mathewson | 2023-04-13 | 1 | -10/+2 | |
| | | ||||||
| * | rpcbase: Use correct error codes, and add tests. | Nick Mathewson | 2023-04-12 | 2 | -7/+183 | |
| | | | | | | | | | | | | Well, mostly correct. Our current serde implementation doesn't tell us much about what went wrong with the object, so we can't tell why we couldn't convert it into a Request. Also, our output for the data field is not as the spec says: we should bring them into conformance. Part of #825. | |||||
| * | tor-rpcbase: Create error kinds properly. | Nick Mathewson | 2023-04-12 | 1 | -14/+16 | |
| | | | | | | The field is called "kinds", it is a list, and it holds strings beginning with "arti:". | |||||
| * | tor-rpcbase: rename cmd to method everywhere. | Nick Mathewson | 2023-04-12 | 1 | -31/+31 | |
| | | ||||||
| * | tor-rpcbase: Rename cmd.rs to method.rs. | Nick Mathewson | 2023-04-12 | 2 | -2/+2 | |
| | | ||||||
| * | tor-rpcbase: Rename and rephrase "command" to "method" | Nick Mathewson | 2023-04-12 | 5 | -47/+47 | |
| | | ||||||
| * | rpc: Try to fix rustdoc errors. | Nick Mathewson | 2023-04-12 | 2 | -2/+2 | |
| | | ||||||
| * | rpc: Use empty structs in test code. | Nick Mathewson | 2023-04-12 | 1 | -12/+12 | |
| | | ||||||
| * | Rename tor-rpccmd to tor-rpcbase. | Nick Mathewson | 2023-04-12 | 8 | -0/+840 | |
