Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Cheng-Yu Chung
279ec5ab45
Remove `include/grpcpp/impl/codegen/interceptor.h` ( #31245 )
2 years ago
Cheng-Yu Chung
3236174176
Remove `include/grpcpp/impl/codegen/byte_buffer.h` ( #30948 )
...
* Remove `include/grpcpp/impl/codegen/byte_buffer.h`
* Update
2 years ago
Nicolas Noble
667691c499
server: per-rpc backend metric reporting ( #29621 )
...
Users can now report per-rpc metrics from servers to clients.
3 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Jacob Dlougach
35ab5bc616
Include <memory> for std::unique_ptr
...
Currently `#include <grpcpp/support/interceptor.h>` in some compilers (gcc 8, for example) will fail due to missing `<memory>` include. This PR fixes this issue.
5 years ago
Yash Tibrewal
f671b3d136
Add hijacking interception hook points as valid for the GetRecv* functions
6 years ago
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
6 years ago
Yash Tibrewal
89ee1a8b10
Improved interception docs
6 years ago
Yash Tibrewal
73b1a918e4
Slight update to grammar. Can probably be improved more
6 years ago
Yash Tibrewal
b8a542cd23
Update Send message interception methods docs
6 years ago
Yash Tibrewal
b35b449166
Update docs according to #17630
6 years ago
Yash Tibrewal
9b9ef64027
Add more information on the usage of FailHijackedRecvMessage
6 years ago
Yash Tibrewal
7eeda22d9e
s/two/three
6 years ago
Yash Tibrewal
4224384d39
Modifying semantics for GetSendMessage and GetSerializedSendMessage.
...
Also adding ModifySendMessage
6 years ago
Yash Tibrewal
50c60f03ba
Rename GetSendMessage to GetSerializedSendMessage and GetOriginalSendMessage to GetSendMessage
6 years ago
Yash Tibrewal
4aeba42528
Provide GetOriginalSendMessage for some APIs
6 years ago
Vijay Pai
cfe08f35f3
Add comments explaining purpose and validity of interception API
6 years ago
Yash Tibrewal
d4ebd30eb2
Add method to get status of send message op on POST_SEND_MESSAGE
6 years ago
Yash Tibrewal
0911e489e3
Add a method to check whether the message was received successfully
6 years ago
Yash Tibrewal
5d7d6c0fbd
Add method to fail hijacked send messages
6 years ago
Yash Tibrewal
699c10386d
Add method to fail recv msg for hijacked rpcs
6 years ago
Yash Tibrewal
a803f96e5a
Add comment on cancellation being forever alone in the batch
6 years ago
Yash Tibrewal
ddcadad5b5
Add note on hijacking
6 years ago
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
6 years ago
Yash Tibrewal
85ddf5c713
Get ClientContext included with ChannelInterface, and slight more cleanup
6 years ago
Yash Tibrewal
cc21d32c77
Some cleanup
6 years ago
Yash Tibrewal
9b83b7d19e
Adding intercepted channel
6 years ago
Yash Tibrewal
52765e9cb1
Don't expose internal functions.. Add a layer of indirection namely InternalInterceptorBatchMethods
6 years ago
Yash Tibrewal
b232bacf27
Starting on server interceptors
6 years ago
Yash Tibrewal
f9fe345553
Add more tests for client interceptors
6 years ago
Yash Tibrewal
cc8c27950c
Change types to use C++ types rather than core types
6 years ago
Yash Tibrewal
6fb7bd23bf
s/GPR_ASSERT/GPR_CODEGEN_ASSERT and few more bugs
6 years ago
Yash Tibrewal
63bdf4e236
More changes for client interception
6 years ago
Yash Tibrewal
5d831da9d1
Adding hook points for interception. Code compiles and tests still run
6 years ago
Yash Tibrewal
b741edf37e
Error fixes
6 years ago
Yash Tibrewal
a1598c5abf
Create interfaces and initial plumbing for interception API
6 years ago