mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-12-25 19:29:45 +01:00
096d399b30
* (wip) Change ClientRWHandler to use an IO action for metadata acqui * Demonstrate placement of WaitForInitialMetadata() in hellos_client * Make hellos cpp server always send metadata first, for now * Show getMD placement in haskell hellos-client * Add prelim bidi metadata exchange behavior tweaks to line up with C++ API conventions |
||
---|---|---|
.. | ||
hellos_client.cc | ||
hellos_server.cc | ||
Makefile | ||
README.md |
gRPC C++ hellos example
This directory contains C++ client/server code for the "hellos" streaming mode example.
Building
Just run make.
Usage
For running the C++ client and server against each other,
$ make $ ./hellos_server & $ ./hellos_client
For running the C++ client against the Haskell server
$ stack build $ make $ stack exec hellos-server & $ ./hellos_client