MCPcopy Create free account
hub / github.com/Tradias/asio-grpc / response_processor

Function response_processor

example/unifex-client.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71};
72
73auto response_processor(example::v1::Response& response)
74{
75 return [&](bool ok)
76 {
77 if (ok)
78 {
79 std::cout << "Server streaming: " << response.integer() << '\n';
80 }
81 };
82}
83
84auto handle_server_streaming_request(bool ok, ServerStreamingClientRPC& rpc)
85{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected