From c19958405d16d072e38fdd57223f59aa1ff62464 Mon Sep 17 00:00:00 2001 From: Fanda Vacek Date: Mon, 29 Dec 2025 16:30:20 +0100 Subject: [PATCH] Add optional single type description tag --- src/rpctypes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rpctypes.md b/src/rpctypes.md index 1c82e77..8a98723 100644 --- a/src/rpctypes.md +++ b/src/rpctypes.md @@ -24,6 +24,10 @@ The general rules are: * Some numerical constants are decimal point numbers. These do not support `^` and `>` prefixes and use decimal point (`.`, not comma). They can start with `.` (the leading zero can be left out). +* Type description can be optionally extended by name separated by `:`. This is + convenient when one can specify meaning of single parameter or return value, + for example: [`.broker/currentClient:unsubscribe`](./rpcmethods/broker.md#brokercurrentclientunsubscribe) + has param type: `s:shv_ri` and result type: `b:was_unsubscribed`. ## Null