-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [coro_rpc] simply response mode * use asio::dispatch instead of asio::post in executor * coroutine rpc funtion start with delay * [coro_rpc] disable context<void> as lazy rpc function parameter. * add support for context_info * support throw exception to return error. add test. * fix bug * add example * add test for async * [coro_rpc] refact error handle * [coro_rpc] context support get_rpc_function_name. add log when rpc error happened. * move rpc_error to better namespace. add support for rpc function throw rpc_error * remove support for throw errc/err_code * fix format * fix format * add example * add support for normal function get context * fix compile * fix format
- Loading branch information
1 parent
09aefcb
commit dfe3544
Showing
28 changed files
with
809 additions
and
628 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,4 @@ | |
* limitations under the License. | ||
*/ | ||
#pragma once | ||
|
||
#include "impl/protocol/coro_rpc_protocol.hpp" |
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.