-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
187 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.