Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Nicolas Noble
a325d7f77a
Pointing the protobuf submodule to the new URL ( #26811 )
...
* Pointing the protobuf submodule to the new URL
* Also changing WORKSPACE dependencies
* More references to the old URL...
3 years ago
Vijay Pai
8aff94558c
De-experimentalize C++ callback API ( #25728 )
...
* De-experimentalize callback API
* Make FromServerContext based on ServerContextBase
* Fix lambda
* Fix headers
* De-experimentalize tests
* clang-format
* Fix consistency checks
* wip
* Fix const-ness of callback client read RPC requests
* Fix golden file
* Give full route_guide callback client example with Hold etc
* Complete example route-guide server
* De-experimentalize test services
* Omit unneeded using
* Remove some uses of non-experimental macro from test
* clang-format examples
* De-experimentalize async stub calls
* Remove experimental namespace use in qps, ubms
* De-experimentalize alarms, generic stubs, and context allocator
* De-experimentalize SetContextAllocator
* clang-format
* Fix conflicts
* Leave obsolete API in place until users can be migrated
4 years ago
Yash Tibrewal
a8ebadbe5f
Parse command-line args ( #26161 )
4 years ago
Yash Tibrewal
4c53304dcf
Add examples for xDS greeter client and server ( #26157 )
4 years ago
Vijay Pai
ce16365421
clang-format C++ examples ( #25764 )
4 years ago
Esun Kim
343eb56df0
Added CMakeLists.txt to cpp/examples ( #25692 )
4 years ago
Esun Kim
e7afadc255
Refactor examples BUILD files
4 years ago
Esun Kim
69bb5e328e
Added CMakeLists for route_guide example
4 years ago
Esun Kim
86050be0cf
Clean up DEPLOYMENT_TARGET
4 years ago
Donna Dionne
8dd0cb4712
Add support for xDS regex matchers.
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
5 years ago
tuttieee
a61e02b90f
Fix a message indicating the protobuf version in cpp hello_world example's CMakeLists.txt
5 years ago
Patrice Chalin
5ac3aa789f
Docs: fix links to grpc.io tutorial pages
5 years ago
Patrice Chalin
4c4933e056
Docs: fix links to quick start pages
5 years ago
Patrice Chalin
c95c2102c6
Delete cpptutorial.md
5 years ago
Patrice Chalin
a3714f5b08
C++ Hello World: refer reader to Quick Start
5 years ago
Patrice Chalin
33082023e9
C++ examples README cleanup
...
Contributes to https://github.com/grpc/grpc.io/issues/180 .
cc @ejona86 @jtattermusch @srini100
5 years ago
Patrice Chalin
ebe94949ca
Removing obsolete C++ tutorial content
...
Contributes to https://github.com/grpc/grpc.io/issues/180
5 years ago
Muxi Yan
a7995e4c4d
Use a more compressable client message
5 years ago
Donna Dionne
48fa247304
Building C++ example with grpc++ instead of grpc++_unsecure
...
The example should be build with grpc++, not grpc++_unsecure.
For some reason in some branches like master, both versions are built in
so problem not detected. This problem surfaced in 1.28x so needs to be
fixed to link with the correct grpc++.
5 years ago
Donna Dionne
ca8ba90292
Adding Proto Reflection and Health Check to basic C++ example server
...
And ensuring the example can be built and ran via
bazel, make, and cmake.
5 years ago
Donna Dionne
2bf8cbb424
Modify helloworld example to allow a target string
5 years ago
Jan Tattermusch
21512217f2
get rid of the https://grpc.io/release plague
5 years ago
Eduardo Broto
60953c511d
Add missing greeter_async_client2 to c++ helloworld CMakeLists.txt
5 years ago
Esun Kim
5207eba9ff
Add abseil
5 years ago
Tariq Ramlall
2f00d2b7ca
[Docs] Changed variable names to be more accurate in README for cpp helloworld example.
5 years ago
Tariq Ramlall
efee7d4677
[Docs] Updated link to CPP example on grpc.io website.
5 years ago
Zack Galbreath
0be62b021a
Add distrib test for CMake FetchContent build
5 years ago
Zack Galbreath
ec239c48f7
Allow helloworld example to provide its own protoc and grpc_cpp_plugin
5 years ago
Zack Galbreath
17f95ab1f5
Simplify helloworld makefile
...
Use pkg-config to automatically find grpc as a dependency of grpc++.
5 years ago
Przemysław Sobala
ac0aabdaca
Add examples/cpp/helloworld/.gitignore
5 years ago
Christopher Warrington
4be4df3624
Bump min CMake to 3.5.1 to match Google benchmark
...
The Google Benchmark CMake build needs CMake 3.5.1 or newer. CMake 3.5.1
was released May 24, 2016 and is available in Debian stable and Ubuntu
16.04 and 18.04.
6 years ago
Hao Nguyen
7f787bd083
Link against pthread in examples
6 years ago
Prashant Jaikumar
4f2d8a0014
Fix bazel build for examples
...
Fixed the bazel build for some code in the examples directory.
6 years ago
Juanli Shen
3f3f177222
Fix route guide example
6 years ago
Moses Koledoye
84cb531b72
Fix typo
6 years ago
Yash Tibrewal
dde966f8c6
Reviewer comments
6 years ago
Yash Tibrewal
7dd938d5f4
Reviewer comments
6 years ago
Yash Tibrewal
817fb588af
Adding a new line at the end of the file
6 years ago
Yash Tibrewal
6e94552a30
Add a caching interceptor to the keyvaluestore example
6 years ago
Yash Tibrewal
b72bb30126
Clang format
6 years ago
Yash Tibrewal
aa59509369
Reviewer comments
6 years ago
Yash Tibrewal
c01e866a88
better documentation
6 years ago
Yash Tibrewal
f1e9306c70
return empty string instead of nullptr
6 years ago
Yash Tibrewal
7a5a9544ef
Add a naive client server implementation
6 years ago
Juanli Shen
33a4b502c4
Add LB example
6 years ago
hcaseyal
93151145c2
Revert "Revert "Metadata tutorial""
6 years ago
Juanli Shen
951254151b
Revert "Metadata tutorial"
6 years ago