Commit Graph

2 Commits

Author SHA1 Message Date
andri lim 165e54133d
Add framework to support more optional types (#206)
* Add framework to support more optional types

This PR add a framework to rpc server by using more templates than macros to handle optional types.
Now rpc server recognize both `std/options` and `results.Opt` as optional type for the parameters.
If needed user can add more optional types by overloading `rpc_isOptional` template.
Now aliases to optional types also works.

* Don't expose types used internally by the wrapper
2024-02-02 14:14:37 +07:00
jangko 0b8cec3aa8
Implement RPC batch call both in servers and clients 2024-01-31 13:13:41 +07:00