Eugene Ostroukhov
d43e35738a
Examples: unify command line flags ( #32456 )
...
1. All greeter servers now support flag `--port` to customize the listen
port.
2. All client implementation now have `--target` flag to specify the
server location.
3. ABSL is used to parse the flags to reduce the amount of boilerplate
code in the examples.
Fixes : #26989
2 years ago
AJ Heller
24bc7c455f
Match the greeter async example to the tutorial ( #30731 )
...
The "Prepare" bit is unnecessary for the basic async example. It's used
more meaningfully in the v2 async greeter implementations.
2 years ago
Vijay Pai
ce16365421
clang-format C++ examples ( #25764 )
4 years ago
Prashant Jaikumar
4f2d8a0014
Fix bazel build for examples
...
Fixed the bazel build for some code in the examples directory.
6 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Stanley Cheung
c9b401e3fc
cpp examples missing gpr asserts
8 years ago
Yuchen Zeng
43b4bfd02b
Revert unnecessary changes
8 years ago
Yuchen Zeng
d4bbfc7dcf
Implement c-ares based dns resolver
8 years ago
Yuchen Zeng
2eedca72d5
Check the value of Next() in async examples
9 years ago
Michael Yeh
f9b89b181d
Updated to more closely mimic greeter_async_client.cc. Fixed typos in comments.
9 years ago
Michael Yeh
470cbd1c6e
Created a new sample async client that is non-blocking. A reader thread is spawned to handle all the RPC results.
9 years ago
Michael Yeh
2df7d40914
Modified sample async client to be non-blocking. A reader thread is spawned to handle all the RPC results.
9 years ago
Julien Boeuf
8c48a2a196
Fixing cpp examples.
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
a570d6334d
Fixes to comments and to examples
9 years ago
David Garcia Quintas
14111e9da1
Added grpc++.h with mainpage docs.
...
Minor fixes to previously existing docs.
9 years ago
yang-g
e69909a7e7
fix build
9 years ago
David Garcia Quintas
fb72e1e487
Documentation for all the rest of the greeter examples.
9 years ago
yang-g
92806a51ba
remove ChannelArguments ref and update doc
9 years ago
yang-g
75d04da2e4
sync up with CreateChannel API change
9 years ago
David Garcia Quintas
fd2d36bfa1
Comments for async client greeter
9 years ago
Stanley Cheung
20fa6693f3
move examples to correct locations
9 years ago
Stanley Cheung
6905915db1
prepare for move
9 years ago
yang-g
d36da04a55
fix helloworld
9 years ago
Yang Gao
fd7627691f
Move to new Status API
10 years ago
Yang Gao
21c7f68bb0
update code to reflect API changes
10 years ago
Yang Gao
27bd696d70
update helloworld
10 years ago
Nicolas "Pixel" Noble
68095aab7d
Single-parameter constructors should be marked explicit.
10 years ago
Yang Gao
be8ac56e93
Async helloworld client and server
10 years ago
Nicolas "Pixel" Noble
9efc083006
Updating examples to reflect the new state of things.
10 years ago
Yang Gao
d6319001f3
Update helloworld
10 years ago
Yang Gao
7c968086a9
CreateChannel API change syncup and regenerate files
10 years ago
Yang Gao
600d70cd8d
change proto README cpp node ruby
10 years ago
Yang Gao
d95693724c
Add helloworld example in c++
10 years ago
murgatroid99
e89af55a86
Added node hello world example
10 years ago